diff --git a/ansible/roles/freezer/tasks/config.yml b/ansible/roles/freezer/tasks/config.yml index 1f3032c080..970e8715f0 100644 --- a/ansible/roles/freezer/tasks/config.yml +++ b/ansible/roles/freezer/tasks/config.yml @@ -39,10 +39,10 @@ service_name: "{{ item.key }}" sources: - "{{ role_path }}/templates/freezer-api.conf.j2" - - "{{ node_config_directory }}/global.conf" - - "{{ node_config_directory }}/database.conf" - - "{{ node_config_directory }}/messaging.conf" - - "{{ node_config_directory }}/freezer.conf" + - "{{ node_custom_config }}/global.conf" + - "{{ node_custom_config }}/database.conf" + - "{{ node_custom_config }}/messaging.conf" + - "{{ node_custom_config }}/freezer.conf" - "{{ node_custom_config }}/freezer/{{ item.key }}.conf" - "{{ node_custom_config }}/freezer/{{ inventory_hostname }}/{{ item.key }}.conf" dest: "{{ node_config_directory }}/{{ item.key }}/freezer-api.conf" @@ -60,7 +60,7 @@ - name: Copying over existing policy.json template: - src: "{{ node_config_directory }}/freezer/policy.json" + src: "{{ node_custom_config }}/freezer/policy.json" dest: "{{ node_config_directory }}/{{ item.key }}/policy.json" register: freezer_policy_jsons when: