1
0
Fork 0
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:
Arie Bregman 2018-05-30 02:02:48 +02:00 committed by René Moser
parent 5a677e140b
commit 1c3a117f83

View file

@ -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