lineinfile example: /etc/host[s]
Change a lineinfile example from /etc/host to /etc/hosts
This commit is contained in:
parent
41425fb535
commit
04aa74ddf1
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ EXAMPLES = r"""
|
||||||
|
|
||||||
lineinfile: dest=/etc/sudoers state=absent regexp="^%wheel"
|
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"
|
lineinfile: dest=/etc/httpd/conf/httpd.conf regexp="^Listen " insertafter="^#Listen " line="Listen 8080"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue