diff --git a/tasks/nova_uwsgi.yml b/tasks/nova_uwsgi.yml index c6d2ba7f..19327c21 100644 --- a/tasks/nova_uwsgi.yml +++ b/tasks/nova_uwsgi.yml @@ -32,25 +32,3 @@ notify: - Manage LB - Restart nova services - -# Cleanup and restart nginx configuration -# For O->P upgrades, can remove in Q. -- name: Clean up nginx configuration - file: - path: "/etc/nginx/{{ nova_nginx_conf_path }}/nova_placement_api.conf" - state: absent - register: nginx_conf_removed - -- name: Cleanup sites-enabled for Debian based deploys - file: - path: "/etc/nginx/sites-enabled/nova_placement_api.conf" - state: absent - when: - - ansible_os_family == "Debian" - -- name: Restart nginx if conf removed - service: - name: nginx - state: restarted - when: nginx_conf_removed is changed - failed_when: false