diff --git a/ansible/roles/barbican/tasks/config.yml b/ansible/roles/barbican/tasks/config.yml index b4bbc86e35..d4927eae5e 100644 --- a/ansible/roles/barbican/tasks/config.yml +++ b/ansible/roles/barbican/tasks/config.yml @@ -39,12 +39,12 @@ - name: Checking whether barbican-api-paste.ini file exists vars: - barbican-api: "{{ barbican_services['barbican-api'] }}" + service: "{{ barbican_services['barbican-api'] }}" local_action: stat path="{{ node_custom_config }}/barbican/barbican-api-paste.ini" run_once: True register: check_barbican_api_paste_ini when: - - barbican-api.enabled | bool + - service.enabled | bool - name: Copying over barbican-api-paste.ini vars: