mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-11-25 12:15:51 +01:00
Updated issue template and collection yml
This commit is contained in:
parent
fa73be4921
commit
21adf94627
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
3
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -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` -->
|
||||
<!-- 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
|
||||
|
||||
```
|
||||
|
||||
|
||||
### Steps to Reproduce
|
||||
|
||||
<!-- Describe exactly how to reproduce the problem, using a minimal test-case -->
|
||||
|
@ -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
|
||||
|
||||
### Notable changes
|
||||
|
@ -21,6 +21,15 @@
|
||||
run_once: true
|
||||
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
|
||||
ansible.builtin.copy:
|
||||
dest: pyratlabs-issue-dump.txt
|
||||
@ -33,6 +42,10 @@
|
||||
{{ check_ansible_config.stdout }}
|
||||
# End ANSIBLE CONFIG
|
||||
|
||||
# Begin ANSIBLE ROLES
|
||||
{{ check_ansible_roles.stdout }}
|
||||
# End ANSIBLE ROLES
|
||||
|
||||
# Begin PLAY HOSTS
|
||||
{{ play_hosts | to_json }}
|
||||
# End PLAY HOSTS
|
||||
@ -60,6 +73,6 @@
|
||||
|
||||
- name: Fail the play
|
||||
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
|
||||
run_once: true
|
||||
|
Loading…
Reference in New Issue
Block a user