diff options
Diffstat (limited to 'docker/services/neutron-api.yaml')
-rw-r--r-- | docker/services/neutron-api.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docker/services/neutron-api.yaml b/docker/services/neutron-api.yaml index c028fc28..34d70ff0 100644 --- a/docker/services/neutron-api.yaml +++ b/docker/services/neutron-api.yaml @@ -39,6 +39,10 @@ parameters: EnableInternalTLS: type: boolean default: false + UpgradeRemoveUnusedPackages: + default: false + description: Remove package if the service is being disabled during upgrade + type: boolean conditions: @@ -67,6 +71,8 @@ outputs: description: Role data for the Neutron API role. value: service_name: {get_attr: [NeutronBase, role_data, service_name]} + logging_source: {get_attr: [NeutronBase, role_data, logging_source]} + logging_groups: {get_attr: [NeutronBase, role_data, logging_groups]} config_settings: map_merge: - get_attr: [NeutronBase, role_data, config_settings] @@ -189,5 +195,10 @@ outputs: tags: step2 when: neutron_server_enabled.rc == 0 service: name=neutron-server state=stopped enabled=no + - name: Remove openstack-neutron package if operator requests it + yum: name=openstack-neutron state=removed + tags: step2 + ignore_errors: True + when: {get_param: UpgradeRemoveUnusedPackages} metadata_settings: get_attr: [NeutronBase, role_data, metadata_settings] |