Debian Codegraph @

ansible_collections/community/general/.github/ISSUE_TEMPLATE/bug_report.yml

raw
1 ---
2 # Copyright (c) Ansible Project
3 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4 # SPDX-License-Identifier: GPL-3.0-or-later
5
6 name: Bug report
7 description: Create a report to help us improve
8
9 body:
10 - type: markdown
11 attributes:
12 value: |
13 ⚠
14 Verify first that your issue is not [already reported on GitHub][issue search].
15 Also test if the latest release and devel branch are affected too.
16 *Complete **all** sections as described, this form is processed automatically.*
17
18 [issue search]: https://github.com/ansible-collections/community.general/search?q=is%3Aissue&type=issues
19
20
21 - type: textarea
22 attributes:
23 label: Summary
24 description: Explain the problem briefly below.
25 placeholder: >-
26 When I try to do X with the collection from the main branch on GitHub, Y
27 breaks in a way Z under the env E. Here are all the details I know
28 about this problem...
29 validations:
30 required: true
31
32 - type: dropdown
33 attributes:
34 label: Issue Type
35 # FIXME: Once GitHub allows defining the default choice, update this
36 options:
37 - Bug Report
38 validations:
39 required: true
40
41 - type: textarea
42 attributes:
43 # For smaller collections we could use a multi-select and hardcode the list
44 # May generate this list via GitHub action and walking files under https://github.com/ansible-collections/community.general/tree/main/plugins
45 # Select from list, filter as you type (`mysql` would only show the 3 mysql components)
46 # OR freeform - doesn't seem to be supported in adaptivecards
47 label: Component Name
48 description: >-
49 Write the short name of the module, plugin, task or feature below,
50 *use your best guess if unsure*. Do not include `community.general.`!
51 placeholder: dnf, apt, yum, pip, user etc.
52 validations:
53 required: true
54
55 - type: textarea
56 attributes:
57 label: Ansible Version
58 description: >-
59 Paste verbatim output from `ansible --version` between
60 tripple backticks.
61 value: |
62 ```console (paste below)
63 $ ansible --version
64
65 ```
66 validations:
67 required: true
68
69 - type: textarea
70 attributes:
71 label: Community.general Version
72 description: >-
73 Paste verbatim output from "ansible-galaxy collection list community.general"
74 between tripple backticks.
75 value: |
76 ```console (paste below)
77 $ ansible-galaxy collection list community.general
78
79 ```
80 validations:
81 required: true
82
83 - type: textarea
84 attributes:
85 label: Configuration
86 description: >-
87 If this issue has an example piece of YAML that can help to reproduce this problem, please provide it.
88 This can be a piece of YAML from, e.g., an automation, script, scene or configuration.
89 Paste verbatim output from `ansible-config dump --only-changed` between quotes
90 value: |
91 ```console (paste below)
92 $ ansible-config dump --only-changed
93
94 ```
95
96
97 - type: textarea
98 attributes:
99 label: OS / Environment
100 description: >-
101 Provide all relevant information below, e.g. target OS versions,
102 network device firmware, etc.
103 placeholder: RHEL 8, CentOS Stream etc.
104 validations:
105 required: false
106
107
108 - type: textarea
109 attributes:
110 label: Steps to Reproduce
111 description: |
112 Describe exactly how to reproduce the problem, using a minimal test-case. It would *really* help us understand your problem if you could also passed any playbooks, configs and commands you used.
113
114 **HINT:** You can paste https://gist.github.com links for larger files.
115 value: |
116 <!--- Paste example playbooks or commands between quotes below -->
117 ```yaml (paste below)
118
119 ```
120 validations:
121 required: true
122
123 - type: textarea
124 attributes:
125 label: Expected Results
126 description: >-
127 Describe what you expected to happen when running the steps above.
128 placeholder: >-
129 I expected X to happen because I assumed Y.
130 that it did not.
131 validations:
132 required: true
133
134 - type: textarea
135 attributes:
136 label: Actual Results
137 description: |
138 Describe what actually happened. If possible run with extra verbosity (`-vvvv`).
139
140 Paste verbatim command output between quotes.
141 value: |
142 ```console (paste below)
143
144 ```
145 - type: checkboxes
146 attributes:
147 label: Code of Conduct
148 description: |
149 Read the [Ansible Code of Conduct](https://docs.ansible.com/projects/ansible/latest/community/code_of_conduct.html?utm_medium=github&utm_source=issue_form--ansible-collections) first.
150 options:
151 - label: I agree to follow the Ansible Code of Conduct
152 required: true
153 ...