Merge "Add the missing condition for config.yml"
This commit is contained in:
commit
39ee9697ad
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ elasticsearch_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ glance_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ gnocchi_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ heat_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ horizon_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -14,7 +14,7 @@
|
||||
recurse: yes
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ keystone_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
@ -25,7 +25,7 @@
|
||||
with_dict: "{{ keystone_services }}"
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled
|
||||
- item.value.enabled | bool
|
||||
notify:
|
||||
- Restart keystone container
|
||||
- Restart keystone-ssh container
|
||||
|
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ magnum_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ rally_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ sahara_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -4,6 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ searchlight_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ senlin_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
@ -4,7 +4,9 @@
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
recurse: yes
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ watcher_services }}"
|
||||
|
||||
- name: Copying over config.json files for services
|
||||
|
Loading…
Reference in New Issue
Block a user