Remove the static when use include_tasks feature

Change-Id: I9471ca2a5a7b1541887fd539d63dd6ffbc4145b2
This commit is contained in:
zhulingjie 2018-09-01 22:31:07 -04:00
parent eff5be7da9
commit 01ddeea5a9

View File

@ -52,13 +52,11 @@
- horizon-config - horizon-config
- include_tasks: horizon_db_setup.yml - include_tasks: horizon_db_setup.yml
static: no
when: inventory_hostname == ansible_play_hosts[0] when: inventory_hostname == ansible_play_hosts[0]
tags: tags:
- horizon-config - horizon-config
- include_tasks: horizon_ssl_self_signed.yml - include_tasks: horizon_ssl_self_signed.yml
static: no
when: when:
- not horizon_external_ssl | bool - not horizon_external_ssl | bool
- horizon_user_ssl_cert is not defined or horizon_user_ssl_key is not defined - horizon_user_ssl_cert is not defined or horizon_user_ssl_key is not defined
@ -66,7 +64,6 @@
- horizon-config - horizon-config
- include_tasks: horizon_ssl_user_provided.yml - include_tasks: horizon_ssl_user_provided.yml
static: no
when: not horizon_external_ssl | bool when: not horizon_external_ssl | bool
tags: tags:
- horizon-config - horizon-config