summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorLorin Hochstein <lorin@nimbisservices.com>2013-06-05 19:54:37 +0200
committerLorin Hochstein <lorin@nimbisservices.com>2013-06-05 19:54:37 +0200
commit04aa74ddf1a8d7016e35eeeedfd3fdf3ecb37953 (patch)
tree6f843c6e6110088a67ff58ca49fda394abad988c /library
parentMerge pull request #3121 from tgerla/devel (diff)
downloadansible-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/lineinfile2
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"