commit b5a4bcafef81932fcb8fe59248f9d2f613e8deb1 Author: Dmitriy Rabotyagov Date: Thu Oct 8 15:15:03 2020 +0300 Remove unecessary apache tasks These tasks were added for upgrade purposes to uwsgi and can be safely removed now Change-Id: I2c17d78933b1c0e72132648623728af39a7f7aa7 diff --git a/tasks/cinder_post_install.yml b/tasks/cinder_post_install.yml index 29d749c..f1788ef 100644 --- a/tasks/cinder_post_install.yml +++ b/tasks/cinder_post_install.yml @@ -146,19 +146,3 @@ mode: "0440" owner: "root" group: "root" - -- name: Disable cinder-wsgi apache2 configuration - command: a2disconf cinder-wsgi - args: - removes: "/etc/apache2/conf-enabled/cinder-wsgi.conf" - when: - - cinder_install_method == 'distro' - - ansible_pkg_mgr == 'apt' - - "cinder_services['cinder-api']['group'] in group_names" - register: cinder_wsgi_conf_disable - -- name: Reload apache2 - service: - name: apache2 - state: reloaded - when: cinder_wsgi_conf_disable is changed