Use neutron_conf_dir for absent policy removal

Change-Id: Iff2017d4fbc5ede0686afa20998f0b1f0c00470e
This commit is contained in:
Dmitriy Rabotyagov 2021-04-28 17:16:48 +03:00
parent 7f2b7ea4f4
commit 2a846b3a2b

View File

@ -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