Просмотр исходного кода

Fixes for ansible (#77)

* static: false for SmartOS include

* add static=false to all conditional template include
awhite-telstra 8 лет назад
Родитель
Сommit
a43c23c44c
4 измененных файлов с 8 добавлено и 0 удалено
  1. 1 0
      tasks/client.yml
  2. 5 0
      tasks/main.yml
  3. 1 0
      tasks/server.yml
  4. 1 0
      tasks/ssl.yml

+ 1 - 0
tasks/client.yml

@@ -13,6 +13,7 @@
 
   - include: SmartOS/client.yml
     when: ansible_distribution == "SmartOS"
+    static: false
 
   - name: Ensure Sensu client service is running
     service: name=sensu-client state=started enabled=yes

+ 5 - 0
tasks/main.yml

@@ -10,6 +10,7 @@
     tags: redis
     when: redis_server
           and sensu_deploy_redis
+    static: false
 
   - include: ssl.yml
     tags: ssl
@@ -18,6 +19,7 @@
     tags: rabbitmq
     when: rabbitmq_server
           and sensu_deploy_rabbitmq
+    static: false
 
   - include: common.yml
     tags: common
@@ -25,10 +27,12 @@
   - include: server.yml
     tags: server
     when: sensu_master
+    static: false
 
   - include: dashboard.yml
     tags: dashboard
     when: sensu_include_dashboard
+    static: false
 
   - include: client.yml
     tags: client
@@ -36,3 +40,4 @@
   - include: plugins.yml
     tags: plugins
     when: sensu_include_plugins
+    static: false

+ 1 - 0
tasks/server.yml

@@ -13,6 +13,7 @@
 
   - include: SmartOS/server.yml
     when: ansible_distribution == "SmartOS"
+    static: false
 
   - name: Ensure Sensu server service is running
     service: name=sensu-server state=started enabled=yes

+ 1 - 0
tasks/ssl.yml

@@ -12,6 +12,7 @@
 
   - include: ssl_generate.yml
     when: sensu_ssl_gen_certs
+    static: false
 
   - name: Deploy the Sensu client SSL cert/key
     copy: