Uncomment things from update-hosts.yml

This commit is contained in:
Zachary Seguin 2016-02-29 17:24:53 -05:00
parent 4e08abe1e1
commit 912a93ea55
1 changed files with 6 additions and 7 deletions

View File

@ -1,14 +1,13 @@
---
#- hosts: high-fructose-corn-syrup.csclub.uwaterloo.ca
- hosts: all
remote_user: root
gather_facts: no
tasks:
#- name: update hosts
# connection: local
# git: repo=~git/public/hosts.git dest=generate-hosts
#- name: generate hosts file
# connection: local
# shell: generate-hosts/generate-hosts.py < generate-hosts/hosts.in > generate-hosts/hosts
- name: update hosts
connection: local
git: repo=~git/public/hosts.git dest=generate-hosts
- name: generate hosts file
connection: local
shell: generate-hosts/generate-hosts.py < generate-hosts/hosts.in > generate-hosts/hosts
- name: copy hosts file
copy: src=generate-hosts/hosts dest=/etc/hosts backup=yes