Merge "Add the role enabled check for some projects"
This commit is contained in:
commit
1a7460be92
@ -7,7 +7,9 @@
|
||||
group: "{{ config_owner_group }}"
|
||||
mode: "0770"
|
||||
become: true
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ congress_services }}"
|
||||
|
||||
- name: Check if policies shall be overwritten
|
||||
|
@ -1,4 +1,17 @@
|
||||
---
|
||||
- name: Ensuring config directories exist
|
||||
file:
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
owner: "{{ config_owner_user }}"
|
||||
group: "{{ config_owner_group }}"
|
||||
mode: "0770"
|
||||
become: true
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ keystone_services }}"
|
||||
|
||||
- name: Check if policies shall be overwritten
|
||||
local_action: stat path="{{ item }}"
|
||||
run_once: True
|
||||
@ -21,19 +34,6 @@
|
||||
run_once: True
|
||||
register: keystone_domain_directory
|
||||
|
||||
- name: Ensuring config directories exist
|
||||
file:
|
||||
path: "{{ node_config_directory }}/{{ item.key }}"
|
||||
state: "directory"
|
||||
owner: "{{ config_owner_user }}"
|
||||
group: "{{ config_owner_group }}"
|
||||
mode: "0770"
|
||||
become: true
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ keystone_services }}"
|
||||
|
||||
- name: Creating Keystone Domain directory
|
||||
vars:
|
||||
keystone: "{{ keystone_services.keystone }}"
|
||||
|
@ -7,7 +7,9 @@
|
||||
group: "{{ config_owner_group }}"
|
||||
mode: "0770"
|
||||
become: true
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ mistral_services }}"
|
||||
|
||||
- name: Check if policies shall be overwritten
|
||||
|
@ -9,7 +9,7 @@
|
||||
become: true
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ tacker_services }}"
|
||||
|
||||
- name: Check if policies shall be overwritten
|
||||
|
@ -7,7 +7,9 @@
|
||||
group: "{{ config_owner_group }}"
|
||||
mode: "0770"
|
||||
become: true
|
||||
when: inventory_hostname in groups[item.value.group]
|
||||
when:
|
||||
- inventory_hostname in groups[item.value.group]
|
||||
- item.value.enabled | bool
|
||||
with_dict: "{{ zun_services }}"
|
||||
|
||||
- name: Check if policies shall be overwritten
|
||||
|
Loading…
x
Reference in New Issue
Block a user