diff --git a/lib/ansible/modules/files/lineinfile.py b/lib/ansible/modules/files/lineinfile.py index 25329b554d1..fc85ee8cf21 100644 --- a/lib/ansible/modules/files/lineinfile.py +++ b/lib/ansible/modules/files/lineinfile.py @@ -164,7 +164,7 @@ EXAMPLES = r""" line: '192.168.1.99 foo.lab.net foo' # Fully quoted because of the ': ' on the line. See the Gotchas in the YAML docs. -- lineinfile: " +- lineinfile: path: /etc/sudoers state: present regexp: '^%wheel\s'