diff options
author | Lorin Hochstein <lorin@nimbisservices.com> | 2013-06-05 19:54:37 +0200 |
---|---|---|
committer | Lorin Hochstein <lorin@nimbisservices.com> | 2013-06-05 19:54:37 +0200 |
commit | 04aa74ddf1a8d7016e35eeeedfd3fdf3ecb37953 (patch) | |
tree | 6f843c6e6110088a67ff58ca49fda394abad988c /library | |
parent | Merge pull request #3121 from tgerla/devel (diff) | |
download | ansible-04aa74ddf1a8d7016e35eeeedfd3fdf3ecb37953.tar.xz ansible-04aa74ddf1a8d7016e35eeeedfd3fdf3ecb37953.zip |
lineinfile example: /etc/host[s]
Change a lineinfile example from /etc/host to /etc/hosts
Diffstat (limited to 'library')
-rw-r--r-- | library/files/lineinfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/files/lineinfile b/library/files/lineinfile index 7aac8e81c3..ae4e0c7b45 100644 --- a/library/files/lineinfile +++ b/library/files/lineinfile @@ -118,7 +118,7 @@ EXAMPLES = r""" lineinfile: dest=/etc/sudoers state=absent regexp="^%wheel" - lineinfile: dest=/etc/host regexp='^127\.0\.0\.1' line='127.0.0.1 localhost' owner=root group=root mode=0644 + lineinfile: dest=/etc/hosts regexp='^127\.0\.0\.1' line='127.0.0.1 localhost' owner=root group=root mode=0644 lineinfile: dest=/etc/httpd/conf/httpd.conf regexp="^Listen " insertafter="^#Listen " line="Listen 8080" |