mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
66fb7fd9de
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)
18 lines
383 B
YAML
18 lines
383 B
YAML
---
|
|
# This is a demo of how the group command works.
|
|
|
|
- hosts: all
|
|
user: root
|
|
sudo: yes
|
|
|
|
tasks:
|
|
|
|
# Walk through group creation, modification, and deletion
|
|
- name: create a group
|
|
action: group name=tset
|
|
|
|
# You can only modify the group's gid
|
|
- action: group name=tset gid=7777
|
|
|
|
# And finally remove the group
|
|
- action: group name=tset state=absent
|