Infra: Fix AWS deployment
[csit.git] / resources / tools / testbed-setup / ansible / nomad.yaml
index db1c396..ae9de1e 100644 (file)
@@ -5,6 +5,12 @@
   remote_user: testuser
   become: yes
   become_user: root
   remote_user: testuser
   become: yes
   become_user: root
+  gather_facts: false
+  pre_tasks:
+    - name: Gathering Facts
+      gather_facts:
+      tags:
+        - always
   roles:
     - role: user_add
       tags: user_add
   roles:
     - role: user_add
       tags: user_add
@@ -21,4 +27,6 @@
     - role: jenkins_job_health_exporter
       tags: jenkins_job_health_exporter
     - role: cadvisor
     - role: jenkins_job_health_exporter
       tags: jenkins_job_health_exporter
     - role: cadvisor
-      tags: cadvisor
\ No newline at end of file
+      tags: cadvisor
+    - role: cleanup
+      tags: cleanup
\ No newline at end of file