mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #14796 from resmo/patch-3
prop: ignore_checkmode is a better name
This commit is contained in:
commit
1b96454d8e
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Rename always_run to checkmode_run
|
# Rename always_run to ignore_checkmode
|
||||||
|
|
||||||
*Author*: René Moser <@resmo>
|
*Author*: René Moser <@resmo>
|
||||||
|
|
||||||
|
@ -25,10 +25,10 @@ You have a conditional but also a word that says `always`. This is a conflict in
|
||||||
|
|
||||||
## Solution Proposal
|
## Solution Proposal
|
||||||
|
|
||||||
Deprecate `always_run` by rename it to `checkmode_run`:
|
Deprecate `always_run` by rename it to `ignore_checkmode`:
|
||||||
|
|
||||||
```
|
```
|
||||||
- shell: dangerous_cleanup.sh
|
- shell: dangerous_cleanup.sh
|
||||||
when: cleanup == "yes"
|
when: cleanup == "yes"
|
||||||
checkmode_run: yes
|
ignore_checkmode: yes
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue