From 5b02184211c34993a3f424d03e874ac14e89ebd9 Mon Sep 17 00:00:00 2001 From: Dennis M Date: Tue, 12 Jan 2021 10:41:31 +0200 Subject: [PATCH] Added tag neutron-policy-overrides to just update neutron policy To speedup changes for the neutron policy.json file a new tag was added. nova-config tag does include this step, but it do a lot of other tasks which aren't required to just change of the policy. Change-Id: I60b3d0593d5a8f9d636fddb27135392f49a6e071 --- tasks/neutron_post_install.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/neutron_post_install.yml b/tasks/neutron_post_install.yml index ff8bdc07..051b7f2d 100644 --- a/tasks/neutron_post_install.yml +++ b/tasks/neutron_post_install.yml @@ -67,8 +67,12 @@ copy: content: "{{ neutron_policy_overrides | to_nice_json }}" dest: "{{ neutron_conf_dir }}/policy.json" + notify: + - Restart neutron services when: - neutron_policy_overrides != {} + tags: + - neutron-policy-overrides - name: Place api-paste.ini to the correct path in RedHat file: