mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-23 17:58:52 +00:00
Make use of yes/no booleans in playbooks
At the moment Ansible prefers yes/no for module booleans, however booleans in playbooks are still using True/False, rather than yes/no. This changes modifies boolean uses in playbooks (and man pages) to favor yes/no rather than True/False. This change includes: - Adaptation of documentation and examples to favor yes/no - Modification to manpage output to favor yes/no (the docsite output already favors yes/no)
This commit is contained in:
parent
23f2a7fc7e
commit
66fb7fd9de
12 changed files with 30 additions and 28 deletions
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- hosts: all
|
||||
connection: local
|
||||
gather_facts: False
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- action: debug msg="$variable"
|
||||
|
||||
|
|
@ -9,6 +9,6 @@
|
|||
connection: local
|
||||
vars:
|
||||
- ugly: var
|
||||
gather_facts: False
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- action: debug msg="$variable"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue