Skip to content

Commit

Permalink
Merge "Disable cinder api apache config in distro install" into stabl…
Browse files Browse the repository at this point in the history
…e/rocky
  • Loading branch information
Zuul authored and openstack-gerrit committed Dec 11, 2018
2 parents 030572d + ab866a4 commit a824d8d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tasks/cinder_post_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,19 @@
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

0 comments on commit a824d8d

Please sign in to comment.