mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
amend best practices
This commit is contained in:
parent
47629a455c
commit
717884b61a
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,13 @@ Best Practices
|
|||
|
||||
Here are some tips for making the most of Ansible.
|
||||
|
||||
Always Mention State
|
||||
++++++++++++++++++++
|
||||
|
||||
The 'state' parameter is optional to a lot of modules. Whether state=present or state=absent, it's always
|
||||
best to leave that parameter in your playbooks to make it clear, especially as some modules support additional
|
||||
states.
|
||||
|
||||
Group By Roles
|
||||
++++++++++++++
|
||||
|
||||
|
|
Loading…
Reference in a new issue