mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
doc: add name to tasks in ini_file module examples (#38888)
One of Ansible best practices is "Always Name Tasks". This should include tasks in examples as well so people can learn what is the right way to use it.
This commit is contained in:
parent
5a677e140b
commit
1c3a117f83
1 changed files with 2 additions and 1 deletions
|
@ -103,7 +103,8 @@ EXAMPLES = '''
|
|||
mode: 0600
|
||||
backup: yes
|
||||
|
||||
- ini_file:
|
||||
- name: Ensure "temperature=cold is in section "[drinks]" in specified file
|
||||
ini_file:
|
||||
path: /etc/anotherconf
|
||||
section: drinks
|
||||
option: temperature
|
||||
|
|
Loading…
Reference in a new issue