Use render
for code blocks in issue forms
This commit is contained in:
parent
05662fd2ab
commit
ecd69ed36e
2 changed files with 48 additions and 23 deletions
39
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
39
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
@ -48,13 +48,22 @@ body:
|
||||||
attributes:
|
attributes:
|
||||||
label: Ansible Version
|
label: Ansible Version
|
||||||
description: >-
|
description: >-
|
||||||
Paste verbatim output from `ansible --version` between
|
Paste verbatim output from `ansible --version` below, under
|
||||||
tripple backticks.
|
the prompt line. Please don't wrap it with tripple backticks.
|
||||||
|
render: console
|
||||||
value: |
|
value: |
|
||||||
```console (paste below)
|
|
||||||
$ ansible --version
|
$ ansible --version
|
||||||
|
placeholder: |
|
||||||
```
|
$ ansible --version
|
||||||
|
ansible [core 2.11.0b4.post0] (detached HEAD ref: refs/) last updated 2021/04/02 00:33:35 (GMT +200)
|
||||||
|
config file = None
|
||||||
|
configured module search path = ['~/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
|
||||||
|
ansible python module location = ~/src/github/ansible/ansible/lib/ansible
|
||||||
|
ansible collection location = ~/.ansible/collections:/usr/share/ansible/collections
|
||||||
|
executable location = bin/ansible
|
||||||
|
python version = 3.9.0 (default, Oct 26 2020, 13:08:59) [GCC 10.2.0]
|
||||||
|
jinja version = 2.11.3
|
||||||
|
libyaml = True
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
@ -62,12 +71,17 @@ body:
|
||||||
attributes:
|
attributes:
|
||||||
label: Configuration
|
label: Configuration
|
||||||
description: >-
|
description: >-
|
||||||
Paste verbatim output from `ansible-config dump --only-changed` between quotes.
|
Paste verbatim output from `ansible-config dump --only-changed`
|
||||||
|
below, under the prompt line.
|
||||||
|
Please don't wrap it with tripple backticks.
|
||||||
|
render: console
|
||||||
value: |
|
value: |
|
||||||
```console (paste below)
|
|
||||||
$ ansible-config dump --only-changed
|
$ ansible-config dump --only-changed
|
||||||
|
placeholder: |
|
||||||
```
|
$ ansible-config dump --only-changed
|
||||||
|
DEFAULT_GATHERING(~/src/github/ansible/ansible/ansible.cfg) = smart
|
||||||
|
DEFAULT_HOST_LIST(~/src/github/ansible/ansible/ansible.cfg) = ['~/src/github/ansible/ansible/hosts']
|
||||||
|
DEFAULT_VAULT_PASSWORD_FILE(~/src/github/ansible/ansible/ansible.cfg) = ~/src/github/ansible/ansible/vault/print-password.sh
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
@ -114,11 +128,8 @@ body:
|
||||||
description: |
|
description: |
|
||||||
Describe what actually happened. If possible run with extra verbosity (`-vvvv`).
|
Describe what actually happened. If possible run with extra verbosity (`-vvvv`).
|
||||||
|
|
||||||
Paste verbatim command output between quotes.
|
Paste verbatim command output and don't wrap it with tripple backticks.
|
||||||
value: |
|
render: console
|
||||||
```console (paste below)
|
|
||||||
|
|
||||||
```
|
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|
32
.github/ISSUE_TEMPLATE/documentation_report.yml
vendored
32
.github/ISSUE_TEMPLATE/documentation_report.yml
vendored
|
@ -51,13 +51,22 @@ body:
|
||||||
attributes:
|
attributes:
|
||||||
label: Ansible Version
|
label: Ansible Version
|
||||||
description: >-
|
description: >-
|
||||||
Paste verbatim output from `ansible --version` between
|
Paste verbatim output from `ansible --version` below, under
|
||||||
tripple backticks.
|
the prompt line. Please don't wrap it with tripple backticks.
|
||||||
|
render: console
|
||||||
value: |
|
value: |
|
||||||
```console (paste below)
|
|
||||||
$ ansible --version
|
$ ansible --version
|
||||||
|
placeholder: |
|
||||||
```
|
$ ansible --version
|
||||||
|
ansible [core 2.11.0b4.post0] (detached HEAD ref: refs/) last updated 2021/04/02 00:33:35 (GMT +200)
|
||||||
|
config file = None
|
||||||
|
configured module search path = ['~/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
|
||||||
|
ansible python module location = ~/src/github/ansible/ansible/lib/ansible
|
||||||
|
ansible collection location = ~/.ansible/collections:/usr/share/ansible/collections
|
||||||
|
executable location = bin/ansible
|
||||||
|
python version = 3.9.0 (default, Oct 26 2020, 13:08:59) [GCC 10.2.0]
|
||||||
|
jinja version = 2.11.3
|
||||||
|
libyaml = True
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
@ -65,12 +74,17 @@ body:
|
||||||
attributes:
|
attributes:
|
||||||
label: Configuration
|
label: Configuration
|
||||||
description: >-
|
description: >-
|
||||||
Paste verbatim output from `ansible-config dump --only-changed` between quotes.
|
Paste verbatim output from `ansible-config dump --only-changed`
|
||||||
|
below, under the prompt line.
|
||||||
|
Please don't wrap it with tripple backticks.
|
||||||
|
render: console
|
||||||
value: |
|
value: |
|
||||||
```console (paste below)
|
|
||||||
$ ansible-config dump --only-changed
|
$ ansible-config dump --only-changed
|
||||||
|
placeholder: |
|
||||||
```
|
$ ansible-config dump --only-changed
|
||||||
|
DEFAULT_GATHERING(~/src/github/ansible/ansible/ansible.cfg) = smart
|
||||||
|
DEFAULT_HOST_LIST(~/src/github/ansible/ansible/ansible.cfg) = ['~/src/github/ansible/ansible/hosts']
|
||||||
|
DEFAULT_VAULT_PASSWORD_FILE(~/src/github/ansible/ansible/ansible.cfg) = ~/src/github/ansible/ansible/vault/print-password.sh
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue