From 2a846b3a2b8e12b99be3a674670bba28d14020fd Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Wed, 28 Apr 2021 17:16:48 +0300 Subject: [PATCH] Use neutron_conf_dir for absent policy removal Change-Id: Iff2017d4fbc5ede0686afa20998f0b1f0c00470e --- tasks/neutron_post_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/neutron_post_install.yml b/tasks/neutron_post_install.yml index ac7976d7..8f0c6ba1 100644 --- a/tasks/neutron_post_install.yml +++ b/tasks/neutron_post_install.yml @@ -78,7 +78,7 @@ - name: Remove legacy policy.yaml file file: - path: "/etc/neutron/policy.yaml" + path: "{{ neutron_conf_dir }}/policy.yaml" state: absent when: - neutron_policy_overrides | length == 0