Updated issue template and collection yml

This commit is contained in:
Xan Manning 2020-11-30 21:56:24 +00:00
parent fa73be4921
commit 21adf94627
3 changed files with 24 additions and 2 deletions

View File

@ -20,11 +20,12 @@ about: Create a report to help us improve
<!-- Example: `ansible-playbook -e "pyratlabs_issue_controller_dump=true" /path/to/playbook.yml` --> <!-- Example: `ansible-playbook -e "pyratlabs_issue_controller_dump=true" /path/to/playbook.yml` -->
<!-- Then please copy-and-paste the contents (or attach) to this issue. --> <!-- Then please copy-and-paste the contents (or attach) to this issue. -->
<!-- Please also include information about the version of the role you are using -->
```text ```text
``` ```
### Steps to Reproduce ### Steps to Reproduce
<!-- Describe exactly how to reproduce the problem, using a minimal test-case --> <!-- Describe exactly how to reproduce the problem, using a minimal test-case -->

View File

@ -12,6 +12,14 @@
--- ---
--> -->
## 2020-11-30, v2.0.2
### Notable changes
- Updated issue template and information collection tasks.
---
## 2020-11-30, v2.0.1 ## 2020-11-30, v2.0.1
### Notable changes ### Notable changes

View File

@ -21,6 +21,15 @@
run_once: true run_once: true
become: false become: false
- name: Ensure a list of roles is captured
command: ansible-galaxy role list
failed_when: false
changed_when: false
register: check_ansible_roles
delegate_to: localhost
run_once: true
become: false
- name: Ensure facts are written to disk - name: Ensure facts are written to disk
ansible.builtin.copy: ansible.builtin.copy:
dest: pyratlabs-issue-dump.txt dest: pyratlabs-issue-dump.txt
@ -33,6 +42,10 @@
{{ check_ansible_config.stdout }} {{ check_ansible_config.stdout }}
# End ANSIBLE CONFIG # End ANSIBLE CONFIG
# Begin ANSIBLE ROLES
{{ check_ansible_roles.stdout }}
# End ANSIBLE ROLES
# Begin PLAY HOSTS # Begin PLAY HOSTS
{{ play_hosts | to_json }} {{ play_hosts | to_json }}
# End PLAY HOSTS # End PLAY HOSTS
@ -60,6 +73,6 @@
- name: Fail the play - name: Fail the play
ansible.builtin.fail: ansible.builtin.fail:
msg: Please include the output of pyrat-issue-dump.txt in your bug report. msg: "Please include the output of {{ playbook_dir }}/pyratlabs-issue-dump.txt in your bug report."
delegate_to: localhost delegate_to: localhost
run_once: true run_once: true