try and fix mdapi01.stg trying to start/restart apache when it does not need it at all

This commit is contained in:
Kevin Fenzi 2016-10-02 17:11:14 +00:00
parent b80b6ca7e4
commit c6a1cc03a5
3 changed files with 11 additions and 0 deletions

View file

@ -186,3 +186,9 @@ openshift_required_images:
# docker images required by OSBS for builds
fedora_required_images:
- "fedora:24"
#
# say if we want the apache role dependency for mod_wsgi or not
# In some cases we want mod_wsgi and no apache (for python3 httpaio stuff)
#
wsgi_wants_apache: true

View file

@ -27,3 +27,7 @@ fedmsg_certs:
can_send:
- mdapi.repo.update
#
# We do not want apache here, in this case we only want mod_wsgi
#
wsgi_wants_apache: false

View file

@ -1,2 +1,3 @@
dependencies:
- role: apache
when: wsi_wants_apache is true