Skip to content
Snippets Groups Projects
Commit ee903c02 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Add a missing conditional check to the common config task"

parents dd6a571e 50259749
No related branches found
No related tags found
No related merge requests found
...@@ -201,13 +201,14 @@ ...@@ -201,13 +201,14 @@
- name: Ensuring config directories have correct owner and permission - name: Ensuring config directories have correct owner and permission
become: true become: true
file: file:
path: "{{ node_config_directory }}/{{ item }}" path: "{{ node_config_directory }}/{{ item.key }}"
owner: "{{ config_owner_user }}" owner: "{{ config_owner_user }}"
group: "{{ config_owner_group }}" group: "{{ config_owner_group }}"
mode: "0770" mode: "0770"
with_items: when:
- "fluentd" - item.value.enabled | bool
- "cron" - item.key != "kolla-toolbox"
with_dict: "{{ common_services }}"
- name: Check common containers - name: Check common containers
kolla_docker: kolla_docker:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment