diff --git a/lib/ansible/modules/files/ini_file.py b/lib/ansible/modules/files/ini_file.py index 5e41dd3db41..cf12896b1bb 100644 --- a/lib/ansible/modules/files/ini_file.py +++ b/lib/ansible/modules/files/ini_file.py @@ -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