Merge "Remove remaining nova-consoleauth tasks"

This commit is contained in:
Zuul 2019-05-24 09:45:11 +00:00 committed by Gerrit Code Review
commit 36b3c9652b

View File

@ -170,31 +170,6 @@
- nova-config
- systemd-service
# NOTE(mnaser): Remove this task in Train
- name: Disable deprecated nova-consoleauth service
service:
name: nova-consoleauth
state: stopped
enabled: false
failed_when: false
# NOTE(mnaser): Remove this task in Train
- name: Remove unit files for deprecated nova-consoleauth service
file:
path: "{{ item }}"
state: absent
with_items:
- /etc/systemd/system/nova-consoleauth.service
- /etc/tmpfiles.d/openstack-nova-consoleauth.conf
register: _remove_consoleauth
# NOTE(mnaser): Remove this task in Train
- name: Reload systemd for removed units
systemd:
daemon_reload: yes
when:
- _remove_consoleauth is changed
- import_tasks: nova_compute.yml
when:
- "nova_services['nova-compute']['group'] in group_names"