From 21adf9462714d93c672e529a830407823a8ca70d Mon Sep 17 00:00:00 2001 From: Xan Manning Date: Mon, 30 Nov 2020 21:56:24 +0000 Subject: [PATCH] Updated issue template and collection yml --- .github/ISSUE_TEMPLATE/bug_report.md | 3 ++- CHANGELOG.md | 8 ++++++++ tasks/validate/issue-data.yml | 15 ++++++++++++++- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 7891547..5a1862c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -20,11 +20,12 @@ about: Create a report to help us improve + + ```text ``` - ### Steps to Reproduce diff --git a/CHANGELOG.md b/CHANGELOG.md index e4da62e..6926111 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/tasks/validate/issue-data.yml b/tasks/validate/issue-data.yml index eede106..27dc4fd 100644 --- a/tasks/validate/issue-data.yml +++ b/tasks/validate/issue-data.yml @@ -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