Uncomment things from update-hosts.yml
This commit is contained in:
parent
4e08abe1e1
commit
912a93ea55
|
@ -1,14 +1,13 @@
|
||||||
---
|
---
|
||||||
#- hosts: high-fructose-corn-syrup.csclub.uwaterloo.ca
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
remote_user: root
|
remote_user: root
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
tasks:
|
tasks:
|
||||||
#- name: update hosts
|
- name: update hosts
|
||||||
# connection: local
|
connection: local
|
||||||
# git: repo=~git/public/hosts.git dest=generate-hosts
|
git: repo=~git/public/hosts.git dest=generate-hosts
|
||||||
#- name: generate hosts file
|
- name: generate hosts file
|
||||||
# connection: local
|
connection: local
|
||||||
# shell: generate-hosts/generate-hosts.py < generate-hosts/hosts.in > generate-hosts/hosts
|
shell: generate-hosts/generate-hosts.py < generate-hosts/hosts.in > generate-hosts/hosts
|
||||||
- name: copy hosts file
|
- name: copy hosts file
|
||||||
copy: src=generate-hosts/hosts dest=/etc/hosts backup=yes
|
copy: src=generate-hosts/hosts dest=/etc/hosts backup=yes
|
||||||
|
|
Reference in New Issue