Uncomment things from update-hosts.yml master
authorZachary Seguin <ztseguin@csclub.uwaterloo.ca>
Mon, 29 Feb 2016 22:24:53 +0000 (17:24 -0500)
committerZachary Seguin <ztseguin@csclub.uwaterloo.ca>
Mon, 29 Feb 2016 22:24:53 +0000 (17:24 -0500)
update-hosts.yml

index ffbb156..95d114f 100644 (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