From 04aa74ddf1a8d7016e35eeeedfd3fdf3ecb37953 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Wed, 5 Jun 2013 13:54:37 -0400 Subject: [PATCH] lineinfile example: /etc/host[s] Change a lineinfile example from /etc/host to /etc/hosts --- library/files/lineinfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"