deploy/deploy.yml
changeset 1 66f388fa2130
parent 0 5f4fcbc80b37
child 2 f72ffe8b30b1
--- a/deploy/deploy.yml	Fri Sep 14 17:57:34 2018 +0200
+++ b/deploy/deploy.yml	Fri Sep 14 22:07:56 2018 +0200
@@ -1,38 +1,37 @@
 ---
-- hosts: all
-  tasks:
-    - name: Print some debug information 
-      vars: 
-        msg: |
-            Module Variables ("vars"):
-            --------------------------------
-            {{ vars | to_nice_json }} 
+# - hosts: all
+#   tasks:
+#     - name: Print some debug information 
+#       vars: 
+#         msg: |
+#             Module Variables ("vars"):
+#             --------------------------------
+#             {{ vars | to_nice_json }} 
 
-            Environment Variables ("environment"):
-            --------------------------------
-            {{ environment | to_nice_json }} 
+#             Environment Variables ("environment"):
+#             --------------------------------
+#             {{ environment | to_nice_json }} 
 
-            GROUP NAMES Variables ("group_names"):
-            --------------------------------
-            {{ group_names | to_nice_json }}
+#             GROUP NAMES Variables ("group_names"):
+#             --------------------------------
+#             {{ group_names | to_nice_json }}
 
-            GROUPS Variables ("groups"):
-            --------------------------------
-            {{ groups | to_nice_json }}
+#             GROUPS Variables ("groups"):
+#             --------------------------------
+#             {{ groups | to_nice_json }}
 
-            HOST Variables ("hostvars"):
-            --------------------------------
-            {{ hostvars | to_nice_json }} 
+#             HOST Variables ("hostvars"):
+#             --------------------------------
+#             {{ hostvars | to_nice_json }} 
 
-      debug: 
-        msg: "{{ msg.split('\n') }}"       
-      tags: debug_info
+#       debug: 
+#         msg: "{{ msg.split('\n') }}"       
+#       tags: debug_info
 #
 # Localhost actions
 #
 - hosts: localhost
-  vars_files:
-    - "{{playbook_dir}}/deploy_vars.yml"
+  connection: local
   vars:
     isso_build_dir: "{{playbook_dir}}/build/tmp/isso"
     dashboard_build_dir: "{{playbook_dir}}/build/tmp/dashboard"
@@ -101,8 +100,6 @@
 # all actions
 #
 - hosts: remote_discussions
-  vars_files:
-    - "{{playbook_dir}}/deploy_vars.yml"
   vars:
     isso_build_dir: "{{playbook_dir}}/build/tmp/isso"
     dashboard_build_dir: "{{playbook_dir}}/build/tmp/dashboard"
@@ -121,8 +118,7 @@
 # Localhost actions
 #
 - hosts: localhost
-  vars_files:
-    - "{{playbook_dir}}/deploy_vars.yml"
+  connection: local
   vars:
     isso_build_dir: "{{playbook_dir}}/build/tmp/isso"
     dashboard_build_dir: "{{playbook_dir}}/build/tmp/dashboard"
@@ -165,8 +161,6 @@
 #
 - hosts: remote_static
   become: yes
-  vars_files:
-    - "{{playbook_dir}}/deploy_vars.yml"
   vars:
     isso_build_dir: "{{playbook_dir}}/build/tmp/isso"
     dashboard_build_dir: "{{playbook_dir}}/build/tmp/dashboard"
@@ -213,8 +207,6 @@
 #
 - hosts: remote_annotations_api:remote_discussions
   become: yes
-  vars_files:
-    - "{{playbook_dir}}/deploy_vars.yml"
   vars:
     isso_build_dir: "{{playbook_dir}}/build/tmp/isso"
     clientjs_dir: "{{playbook_dir}}/../clientjs"
@@ -246,8 +238,6 @@
 #
 - hosts: remote_annotations_api
   become: yes
-  vars_files:
-    - "{{playbook_dir}}/deploy_vars.yml"
   vars:
     isso_build_dir: "{{playbook_dir}}/build/tmp/isso"
     clientjs_dir: "{{playbook_dir}}/../clientjs"
@@ -332,9 +322,6 @@
 
   become: yes
 
-  vars_files:
-    - "{{playbook_dir}}/deploy_vars.yml"
-
   vars:
     isso_build_dir: "{{playbook_dir}}/build/tmp/isso"
     dashboard_build_dir: "{{playbook_dir}}/build/tmp/dashboard"