Replace all restart httpd with reload httpd

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2015-11-04 23:40:01 +00:00
parent 826315206d
commit 08568865fe
82 changed files with 178 additions and 181 deletions

View file

@ -33,9 +33,6 @@
- name: restart fedmsg-relay
command: /usr/local/bin/conditional-restart.sh fedmsg-relay fedmsg-relay
- name: restart httpd
command: /usr/local/bin/conditional-restart.sh httpd httpd
- name: reload httpd
action: service name=httpd state=reloaded

View file

@ -87,14 +87,14 @@
- name: ensure ServerName is set in ssl.conf
replace: dest=/etc/httpd/conf.d/ssl.conf regexp='^#ServerName .*$' replace='ServerName {{ external_hostname }}:443'
notify:
- restart httpd
- reload httpd
tags:
- qastaticsites
- name: ensure ServerName is set in httpd.conf
replace: dest=/etc/httpd/conf/httpd.conf regexp='^#ServerName .*$' replace='ServerName {{ external_hostname }}:443'
notify:
- restart httpd
- reload httpd
tags:
- qastaticsites
@ -108,7 +108,7 @@
template: src={{ files }}/httpd/newvirtualhost.conf.j2 dest=/etc/httpd/conf.d/{{ item.name }}.conf owner=root group=root mode=0644
with_items: static_sites
notify:
- restart httpd
- reload httpd
tags:
- qastaticsites

View file

@ -102,14 +102,14 @@
- name: ensure ServerName is set in ssl.conf
replace: dest=/etc/httpd/conf.d/ssl.conf regexp='^#ServerName .*$' replace='ServerName {{ external_hostname }}:443'
notify:
- restart httpd
- reload httpd
tags:
- qastaticsites
- name: ensure ServerName is set in httpd.conf
replace: dest=/etc/httpd/conf/httpd.conf regexp='^#ServerName .*$' replace='ServerName {{ external_hostname }}:443'
notify:
- restart httpd
- reload httpd
tags:
- qastaticsites
@ -123,7 +123,7 @@
template: src={{ files }}/httpd/newvirtualhost.conf.j2 dest=/etc/httpd/conf.d/{{ item.name }}.conf owner=root group=root mode=0644
with_items: static_sites
notify:
- restart httpd
- reload httpd
tags:
- qastaticsites

View file

@ -109,7 +109,7 @@
with_items:
- artboard.conf
- redirect.conf
notify: restart httpd
notify: reload httpd
tags:
- artboard

View file

@ -516,10 +516,10 @@
- lineinfile: dest=/etc/openstack-dashboard/local_settings regexp="^OPENSTACK_KEYSTONE_URL " line="OPENSTACK_KEYSTONE_URL = 'https://{{controller_publicname}}:5000/v2.0'"
notify:
- restart httpd
- reload httpd
- lineinfile: dest=/etc/openstack-dashboard/local_settings regexp="OPENSTACK_SSL_CACERT " line="OPENSTACK_SSL_CACERT = '/etc/pki/tls/certs/fedorainfracloud.org.digicert.pem'"
notify:
- restart httpd
- reload httpd
# configure cider with multi back-end
# https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/5/html/Cloud_Administrator_Guide/section_manage-volumes.html

View file

@ -49,13 +49,13 @@
copy: src="{{ files }}/lists-dev/ssl.conf" dest=/etc/httpd/conf.d/ssl.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- name: basic apache virtualhost config
template: src="{{ files }}/lists-dev/apache.conf.j2" dest=/etc/httpd/conf.d/lists-dev.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
# Database
- name: install postgresql server packages

View file

@ -54,7 +54,7 @@
- fedmsgdconfig
- anitya/fedmsg
notify:
- restart httpd
- reload httpd
- restart fedmsg-relay
- name: Remove unwanted files
@ -66,7 +66,7 @@
- fedmsgdconfig
- anitya/fedmsg
notify:
- restart httpd
- reload httpd
- restart fedmsg-relay
- name: setup /etc/pki/fedmsg directory

View file

@ -8,7 +8,7 @@
src=apps.fp.o.conf dest=/etc/httpd/conf.d/{{website}}/apps.fp.o.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- apps-fp-o

View file

@ -87,7 +87,7 @@
- ask
- files
notify:
- restart httpd
- reload httpd
#
# we add this wsgi to handle ssl issues in stg
@ -100,7 +100,7 @@
- ask
- files
notify:
- restart httpd
- reload httpd
- name: Install askbot cron jobs
copy: >
@ -156,7 +156,7 @@
- files
- celery
notify:
- restart httpd
- reload httpd
- name: HOTFIX askbot backends.py
copy: >
@ -167,7 +167,7 @@
- files
- hotfix
notify:
- restart httpd
- reload httpd
#
# fedora favicon
@ -194,7 +194,7 @@
- files
- hotfix
notify:
- restart httpd
- reload httpd
#
# fix for feedback
@ -209,4 +209,4 @@
- files
- hotfix
notify:
- restart httpd
- reload httpd

View file

@ -25,7 +25,7 @@
force: yes
register: configure_result
notify:
- restart httpd
- reload httpd
- restart beaker lab controller
tags:
- beaker_lab_controller

View file

@ -25,7 +25,7 @@
group: root
mode: 0644
notify:
- restart httpd
- reload httpd
tags:
- beaker-server
@ -41,7 +41,7 @@
register: setup_beaker_conf
notify:
- restart beaker server
- restart httpd
- reload httpd
tags:
- beaker-server

View file

@ -24,7 +24,7 @@
- name: setup blockerbugs apache conf
copy: src=blockerbugs.conf dest=/etc/httpd/conf.d/blockerbugs.conf mode=644
notify:
- restart httpd
- reload httpd
tags:
- config
- httpd
@ -33,7 +33,7 @@
- name: setup blockerbugs app settings file
template: src=blockerbugs-settings.py.j2 dest=/etc/blockerbugs/settings.py mode=644
notify:
- restart httpd
- reload httpd
tags:
- config
- httpd

View file

@ -33,7 +33,7 @@
group=root
mode=0644
notify:
- restart httpd
- reload httpd
tags:
- config
@ -116,7 +116,7 @@
mode=0600
when: inventory_hostname.startswith('bodhi-backend02')
notify:
- restart httpd
- reload httpd
tags:
- config
@ -131,7 +131,7 @@
mode=0600
when: inventory_hostname.startswith('bodhi-backend01')
notify:
- restart httpd
- reload httpd
tags:
- config

View file

@ -25,7 +25,7 @@
mode=0600
when: inventory_hostname.startswith('bodhi0')
notify:
- restart httpd
- reload httpd
tags:
- config
- bodhi
@ -39,7 +39,7 @@
mode=0644
when: inventory_hostname.startswith('bodhi0')
notify:
- restart httpd
- reload httpd
tags:
- config
- bodhi

View file

@ -39,7 +39,7 @@
mode=0600
when: inventory_hostname.startswith('bodhi') and env == 'staging'
notify:
- restart httpd
- reload httpd
tags:
- config
- bodhi
@ -53,7 +53,7 @@
mode=0600
when: inventory_hostname.startswith('bodhi') and env == 'production'
notify:
- restart httpd
- reload httpd
tags:
- config
- bodhi
@ -86,7 +86,7 @@
mode=0644
when: inventory_hostname.startswith('bodhi0')
notify:
- restart httpd
- reload httpd
tags:
- config
- bodhi

View file

@ -1,2 +1,2 @@
- name: restart httpd
- name: reload httpd
service: name="httpd" state="restarted"

View file

@ -63,7 +63,7 @@
tags:
- config
notify:
- restart httpd
- reload httpd
- copy: src="dist-git.conf" dest="/etc/dist-git/dist-git.conf" mode=0644

View file

@ -20,7 +20,7 @@
- name: install copr configs
template: src="copr.conf" dest=/etc/copr/copr.conf mode=600
notify:
- restart httpd
- reload httpd
tags:
- config

View file

@ -15,7 +15,7 @@
- name: put keygen vhost for httpd
copy: src="httpd/copr-keygen.conf" dest="/etc/httpd/conf.d/copr-keygen.conf"
notify:
- restart httpd
- reload httpd
tags:
- config

View file

@ -13,8 +13,8 @@
- name: darkserverweb.conf
template: src=darkserverweb.conf.j2 dest=/etc/darkserver/darkserverweb.conf owner=apache group=apache mode=0640
notify: restart httpd
notify: reload httpd
- name: darkjobworker.conf
template: src=darkjobworker.conf.j2 dest=/etc/darkserver/darkjobworker.conf owner=apache group=apache mode=640
notify: restart httpd
notify: reload httpd

View file

@ -44,7 +44,7 @@
- name: setting up httpd config
template: src=datagrepper-app.conf dest=/etc/httpd/conf.d/datagrepper.conf owner=root group=root
notify:
- restart httpd
- reload httpd
tags:
- config
- datagrepper

View file

@ -17,17 +17,17 @@
- name: install the httpd config file
copy: src=pkgs.fedoraproject.org.conf dest=/etc/httpd/conf.d/pkgs.fedoraproject.org.conf
notify:
- restart httpd
- reload httpd
- name: install the httpd config directory
file: dest=/etc/httpd/conf.d/pkgs.fedoraproject.org state=directory
notify:
- restart httpd
- reload httpd
- name: install the mod_ssl configuration
copy: src=ssl.conf dest=/etc/httpd/conf.d/ssl.conf
notify:
- restart httpd
- reload httpd
- name: allow httpd to access the files on NFS
seboolean: name=httpd_use_nfs state=yes persistent=yes
@ -71,7 +71,7 @@
- name: install the Dist Git-related httpd config
copy: src=git-smart-http.conf dest=/etc/httpd/conf.d/pkgs.fedoraproject.org/git-smart-http.conf
notify:
- restart httpd
- reload httpd
- name: install the pkgdb_sync_git_branches.py scripts
template: src={{item}} dest=/usr/local/bin/{{item}} owner=root group=root mode=0755
@ -211,19 +211,19 @@
copy: src=cgitrc dest=/etc/cgitrc
tags: distgit
notify:
- restart httpd
- reload httpd
- name: install our custom header for cgit
template: src=cgit-header.html dest=/usr/share/cgit/cgit-header-fedora.html
tags: distgit
notify:
- restart httpd
- reload httpd
- name: install the CGit-related httpd config
copy: src=redirect.conf dest=/etc/httpd/conf.d/pkgs.fedoraproject.org/redirect.conf
tags: distgit
notify:
- restart httpd
- reload httpd
# -- Lookaside Cache -------------------------------------
@ -234,7 +234,7 @@
- lookaside.conf
- lookaside-upload.conf
notify:
- restart httpd
- reload httpd
tags:
- distgit
@ -332,7 +332,7 @@
- name: install the upload CGI script
copy: src=dist-git-upload.cgi dest=/srv/web/upload.cgi owner=root group=root mode=0755
notify:
- restart httpd
- reload httpd
tags:
- distgit

View file

@ -70,14 +70,14 @@
- name: Configure httpd dl main conf
copy: src=httpd/dl.fedoraproject.org.conf dest=/etc/httpd/conf.d/dl.fedoraproject.org.conf
notify:
- restart httpd
- reload httpd
- name: Make sure apache autoindex.conf is replaced with ours
copy: src=httpd/dl.fedoraproject.org/autoindex.conf dest=/etc/httpd/conf.d/autoindex.conf
notify:
- restart httpd
- reload httpd
- name: Configure httpd dl sub conf
copy: src=httpd/dl.fedoraproject.org/ dest=/etc/httpd/conf.d/dl.fedoraproject.org/
notify:
- restart httpd
- reload httpd

View file

@ -10,7 +10,7 @@
dest=/etc/httpd/conf.d/{{website}}/gather-easyfix.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- easyfix
- easyfix/proxy

View file

@ -45,7 +45,7 @@
- name: epylog httpd config
copy: src=epylog-web.conf dest=/etc/httpd/conf.d/epylog-web.conf
notify:
- restart httpd
- reload httpd
tags:
- config
- apache

View file

@ -43,7 +43,7 @@
group=root
mode=0644
notify:
- restart httpd
- reload httpd
tags:
- config
- fas
@ -62,7 +62,7 @@
group=root
mode=0644
notify:
- restart httpd
- reload httpd
tags:
- config
- fas
@ -132,7 +132,7 @@
group=apache
mode=0640
notify:
- restart httpd
- reload httpd
tags:
- config
- fas
@ -159,7 +159,7 @@
mode=0640
when: master_fas_node == True
notify:
- restart httpd
- reload httpd
tags:
- config
- fas

View file

@ -95,7 +95,7 @@
- fedmsgdconfig
- fedmsg/base
notify:
- restart httpd
- reload httpd
- restart fedmsg-gateway
- restart fedmsg-hub
- restart fedmsg-irc
@ -116,7 +116,7 @@
- fedmsgdconfig
- fedmsg/base
notify:
- restart httpd
- reload httpd
- restart fedmsg-gateway
- restart fedmsg-hub
- restart fedmsg-irc
@ -141,7 +141,7 @@
- fedmsgdconfig
- fedmsg/base
notify:
- restart httpd
- reload httpd
- restart fedmsg-gateway
- restart fedmsg-hub
- restart fedmsg-irc
@ -154,7 +154,7 @@
- fedmsg_loopback
- fedmsg/base
notify:
- restart httpd
- reload httpd
- restart fedmsg-gateway
- restart fedmsg-hub
- restart fedmsg-irc
@ -170,7 +170,7 @@
- fedmsg_loopback
- fedmsg/base
notify:
- restart httpd
- reload httpd
- restart fedmsg-gateway
- restart fedmsg-hub
- restart fedmsg-irc
@ -183,7 +183,7 @@
- fedmsg_loopback
- fedmsg/base
notify:
- restart httpd
- reload httpd
- restart fedmsg-gateway
- restart fedmsg-hub
- restart fedmsg-irc

View file

@ -37,7 +37,7 @@
dest=/etc/httpd/conf.d/{{website}}/fedmsg.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- fedmsg
- fedmsg/crl

View file

@ -12,7 +12,7 @@
- arm.conf
- languages.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/arm

View file

@ -12,7 +12,7 @@
- boot.conf
- languages.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/boot

View file

@ -12,7 +12,7 @@
- fedoracommunity.org-web.conf
- languages.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/community

View file

@ -5,7 +5,7 @@
with_items:
- communityblog-web.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/communityblog

View file

@ -12,7 +12,7 @@
- fudcon.conf
- languages.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/fudcon

View file

@ -12,7 +12,7 @@
- getfedora.org.conf
- languages.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/getfedora

View file

@ -12,7 +12,7 @@
- labs.conf
- languages.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/labs

View file

@ -5,7 +5,7 @@
with_items:
- fedoramagazine-web.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/magazine

View file

@ -16,7 +16,7 @@
- expires.conf
- deflate.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/main
@ -28,7 +28,7 @@
with_items:
- sponsor.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/main
@ -38,7 +38,7 @@
src=browserid.fedoraproject.org dest=/srv/web/browserid.fedoraproject.org
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/main

View file

@ -11,7 +11,7 @@
with_items:
- mirrors.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/mirrors

View file

@ -12,7 +12,7 @@
- spins.conf
- languages.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/spins

View file

@ -12,7 +12,7 @@
- start-web.conf
- languages.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/start

View file

@ -5,7 +5,7 @@
with_items:
- whatcanidoforfedora-web.conf
notify:
- restart httpd
- reload httpd
tags:
- fedora-web
- fedora-web/whatcanidoforfedora

View file

@ -6,7 +6,7 @@
with_items:
- php
notify:
- restart httpd
- reload httpd
tags:
- packages
@ -23,7 +23,7 @@
group=root
mode=0644
notify:
- restart httpd
- reload httpd
tags:
- config

View file

@ -19,7 +19,7 @@
group=root
mode=0644
notify:
- restart httpd
- reload httpd
tags:
- geoip_config
- config
@ -47,7 +47,7 @@
group=root
mode=0775
notify:
- restart httpd
- reload httpd
tags:
- geoip_config
- config

View file

@ -4,7 +4,7 @@
dest=/etc/httpd/conf.d/{{website}}/geoip-city-wsgi-proxy.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- geoip-city-wsgi
- geoip-city-wsgi/proxy

View file

@ -1,6 +1,6 @@
- template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf
notify:
- restart httpd
- reload httpd
tags:
- haproxy
- haproxy/rewrite

View file

@ -13,7 +13,7 @@
mode=0644
when: SSLCertificateChainFile is defined
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/certificate
@ -29,7 +29,7 @@
- "{{private}}/files/httpd/{{cert}}.cert"
- "{{private}}/files/httpd/{{name}}.cert"
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/certificate
@ -45,7 +45,7 @@
- "{{private}}/files/httpd/{{key}}.key"
- "{{private}}/files/httpd/{{name}}.key"
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/certificate

View file

@ -16,7 +16,7 @@
- "{{roles}}/httpd/domainrewrite/templates/domainrewrite.{{destname}}.conf"
- "{{roles}}/httpd/domainrewrite/templates/domainrewrite.conf"
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/domainrewrite

View file

@ -1,6 +1,6 @@
- copy: src=fingerprints.html dest=/srv/web/fingerprints.html
notify:
- restart httpd
- reload httpd
tags:
- fingerprints
- httpd
@ -8,7 +8,7 @@
- copy: src=fingerprints.conf dest=/etc/httpd/conf.d/{{website}}/fingerprints.conf
notify:
- restart httpd
- reload httpd
tags:
- fingerprints
- httpd

View file

@ -2,7 +2,7 @@
src=mime-types.conf dest=/etc/httpd/conf.d/{{website}}/mime-types.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/mime-type

View file

@ -1,7 +1,7 @@
- name: Install mod_ssl
yum: name=mod_ssl state=installed
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/mod_ssl
@ -14,7 +14,7 @@
group=root
mode=0644
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/certificate

View file

@ -3,7 +3,7 @@
src=httpd.conf.j2 dest=/etc/httpd/conf/httpd.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/proxy
@ -27,7 +27,7 @@
- 02-ticketkey.conf
- 03-reqtimeout.conf
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/proxy
@ -35,7 +35,7 @@
- name: set the apache mpm to use event MPM
copy: src=00-mpm.conf dest=/etc/httpd/conf.modules.d/00-mpm.conf
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/proxy

View file

@ -14,7 +14,7 @@
owner=root
group=root
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/redirect

View file

@ -14,7 +14,7 @@
owner=root
group=root
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/redirect

View file

@ -16,7 +16,7 @@
group=root
mode=0755
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/website
@ -31,7 +31,7 @@
group=root
mode=0644
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/website
@ -47,7 +47,7 @@
- logs
- robots
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/website
@ -64,7 +64,7 @@
- robots/robots.txt.{{name}}
- robots/robots.txt
notify:
- restart httpd
- reload httpd
tags:
- httpd
- httpd/website

View file

@ -33,7 +33,7 @@
- name: fedmenu shim
template: src=fedmenu-extra-footer.html dest=/usr/share/koji-web/static/extra-footer.html
tags: koji_hub
notify: restart httpd
notify: reload httpd
# XXX - we only want to do this in staging for now because it requires a patch
# to koji itself to include the extra-footer.html file in a sufficiently
# advanced way.
@ -45,14 +45,14 @@
tags:
- config
- koji_hub
notify: restart httpd
notify: reload httpd
- name: kojiweb config
template: src=web.conf.j2 dest=/etc/kojiweb/web.conf owner=apache group=apache mode=600
tags:
- config
- koji_hub
notify: restart httpd
notify: reload httpd
- name: enable httpd_can_network_connect SELinux boolean for fedmsg
seboolean: name=httpd_can_network_connect state=yes persistent=yes
@ -71,7 +71,7 @@
- name: koji fedmsg plugin
template: src=fedmsg-koji-plugin.py dest=/usr/lib/koji-hub-plugins/fedmsg-koji-plugin.py
notify:
- restart httpd
- reload httpd
tags:
- config
- koji_hub
@ -82,7 +82,7 @@
- name: install kojiweb_cert_key.pem
copy: src={{ private }}/files/koji/kojiweb_cert_key.pem dest=/etc/pki/tls/private/kojiweb_cert_key.pem owner=apache mode=600
notify:
- restart httpd
- reload httpd
tags:
- config
- koji_hub
@ -91,7 +91,7 @@
- name: install production koji_cert.pem
copy: src={{ private }}/files/koji/koji_cert.pem dest=/etc/pki/tls/certs/koji_cert.pem owner=apache mode=600
notify:
- restart httpd
- reload httpd
tags:
- config
- koji_hub
@ -100,7 +100,7 @@
- name: install production koji_key.pem
copy: src={{ private }}/files/koji/koji_key.pem dest=/etc/pki/tls/private/koji_key.pem owner=apache mode=600
notify:
- restart httpd
- reload httpd
tags:
- config
- koji_hub
@ -112,7 +112,7 @@
- name: install s390 kojiweb_cert_key.pem
copy: src={{ private }}/files/koji/s390.koji.fedoraproject.org_key_and_cert.pem dest=/etc/pki/tls/private/kojiweb_cert_key.pem owner=apache mode=600
notify:
- restart httpd
- reload httpd
tags:
- config
- koji_hub
@ -121,7 +121,7 @@
- name: install s390 production koji_cert.pem
copy: src={{ private }}/files/koji/s390_koji_cert.pem dest=/etc/pki/tls/certs/koji_cert.pem owner=apache mode=600
notify:
- restart httpd
- reload httpd
tags:
- config
- koji_hub
@ -130,7 +130,7 @@
- name: install s390 production koji_key.pem
copy: src={{ private }}/files/koji/s390_koji_key.pem dest=/etc/pki/tls/private/koji_key.pem owner=apache mode=600
notify:
- restart httpd
- reload httpd
tags:
- config
- koji_hub
@ -142,7 +142,7 @@
- name: Install staging koji ssl cert
copy: src={{ private }}/files/koji/koji.stg_cert.pem dest=/etc/pki/tls/certs/koji.stg_cert.pem
notify:
- restart httpd
- reload httpd
tags:
- config
- koji_hub
@ -151,7 +151,7 @@
- name: install staging koji ssl key
copy: src={{ private }}/files/koji/koji.stg_key.pem dest=/etc/pki/tls/private/koji.stg_key.pem
notify:
- restart httpd
- reload httpd
tags:
- config
- koji_hub
@ -199,21 +199,21 @@
tags:
- config
- koji_hub
notify: restart httpd
notify: reload httpd
- name: koji web hub specific config files
template: src=kojiweb.conf.j2 dest=/etc/httpd/conf.d/kojiweb.conf owner=root group=root
tags:
- config
- koji_hub
notify: restart httpd
notify: reload httpd
- name: koji web staging config files
copy: src=kojiweb.conf.stg dest=/etc/httpd/conf.d/kojiweb-stg.conf owner=root group=root
tags:
- config
- koji_hub
notify: restart httpd
notify: reload httpd
when: env == "staging"
- name: koji staging ssl config
@ -221,7 +221,7 @@
tags:
- config
- koji_hub
notify: restart httpd
notify: reload httpd
when: env == "staging"
- name: koji ssl config
@ -229,7 +229,7 @@
tags:
- config
- koji_hub
notify: restart httpd
notify: reload httpd
when: env != "staging"
- name: koji robots.txt config
@ -237,7 +237,7 @@
tags:
- config
- koji_hub
notify: restart httpd
notify: reload httpd
- name: kojira log dir
file: dest=/var/log/kojira owner=root group=root mode=0750 state=directory
@ -306,7 +306,7 @@
service: name=httpd enabled=yes
ignore_errors: true
notify:
- restart httpd
- reload httpd
tags:
- service
- koji_hub

View file

@ -58,21 +58,21 @@
- kojipkgs.conf
- infrastructure.conf
notify:
- restart httpd
- reload httpd
tags:
- kojipkgs
- name: make sure httpd ssl.conf is not around (conflicts with squid)
file: dest=/etc/httpd/conf.d/ssl.conf state=absent
notify:
- restart httpd
- reload httpd
tags:
- kojipkgs
- name: make sure httpd listens on port 8080
lineinfile: dest=/etc/httpd/conf/httpd.conf state=present regexp="^Listen 80" line="Listen 8080"
notify:
- restart httpd
- reload httpd
tags:
- kojipkgs
@ -84,7 +84,7 @@
tags:
- kojipkgs
notify:
- restart httpd
- reload httpd
- name: Copy squid ssl key from puppet private
copy: >
@ -94,7 +94,7 @@
tags:
- kojipkgs
notify:
- restart httpd
- reload httpd
- name: set squid to start on boot
service: name=squid enabled=true state=running

View file

@ -32,7 +32,7 @@
- restart koschei-resolver
- restart koschei-scheduler
- restart koschei-watcher
- restart httpd
- reload httpd
tags:
- koschei
- config
@ -74,7 +74,7 @@
- restart koschei-resolver
- restart koschei-scheduler
- restart koschei-watcher
- restart httpd
- reload httpd
tags:
- koschei
- config
@ -84,7 +84,7 @@
src="httpd.conf.j2"
dest="/etc/httpd/conf.d/koschei.conf"
notify:
- restart httpd
- reload httpd
tags:
- koschei
- config
@ -106,7 +106,7 @@
- httpd_can_network_connect
- httpd_can_network_connect_db
notify:
- restart httpd
- reload httpd
tags:
- koschei
- selinux

View file

@ -174,7 +174,7 @@
# - config
# - mailman
# notify:
# - restart httpd
# - reload httpd
- name: set the mailman conffile
template: src={{ item }} dest=/etc/mailman.cfg

View file

@ -88,13 +88,13 @@
- name: install localsettings
template: src=LocalSettings.php.{{wikiname}}.j2 dest=/srv/web/{{wikiname}}-wiki/LocalSettings.php owner=apache group=apache mode=600 setype=httpd_sys_content_t
notify: restart httpd
notify: reload httpd
tags:
- mediawiki
- name: httpd conf
template: src=mediawiki-app.conf.j2 dest=/etc/httpd/conf.d/{{wikiname}}.conf
notify: restart httpd
notify: reload httpd
tags:
- mediawiki

View file

@ -10,7 +10,7 @@
dest=/etc/httpd/conf.d/{{website}}/membership-map.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- membership-map
- membership-map/proxy

View file

@ -29,7 +29,7 @@
- { file: alembic.ini, dest: /etc/mirrormanager/alembic.ini }
- { file: mirrormanager2.wsgi, dest: /var/www/mirrormanager2.wsgi }
notify:
- restart httpd
- reload httpd
tags:
- mm2_frontend
- config

View file

@ -62,7 +62,7 @@ CRITICAL)
# point (unless you disabled notifications for this service)
HARD)
echo -n "Restarting HTTP service..."
echo "#fedora-noc $hostalias - Attempting to restart httpd. $servicedesc is $servicestate" | /usr/bin/nc -w 1 value01 5050
echo "#fedora-noc $hostalias - Attempting to reload httpd. $servicedesc is $servicestate" | /usr/bin/nc -w 1 value01 5050
# Call the init script to restart the HTTPD server
/usr/lib64/nagios/plugins/check_nrpe -H $remotehost -c service_httpd_restart
;;

View file

@ -33,7 +33,7 @@
#
################################################################################
# 'restart httpd'
# 'reload httpd'
define command {
command_name restart_httpd
command_line $USER1$/restart_httpd $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ "$HOSTALIAS$" "$SERVICEDESC$" "$SERVICESTATE$"

View file

@ -2,7 +2,7 @@
src=bugz.conf dest=/etc/httpd/conf.d/{{website}}/bugz.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- packages
- packages/proxy

View file

@ -38,7 +38,7 @@
dest=/etc/fedoracommunity/production.ini
owner=apache group=apache mode=0600
notify:
- restart httpd
- reload httpd
- restart fcomm-cache-worker
tags:
- packages
@ -50,7 +50,7 @@
dest=/etc/httpd/conf.d/fedora-packages.conf
owner=root group=root mode=644
notify:
- restart httpd
- reload httpd
tags:
- packages
- packages/web
@ -61,7 +61,7 @@
dest=/etc/fedoracommunity/yum-repo.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- restart fcomm-cache-worker
tags:
- packages
@ -87,7 +87,7 @@
dest="{{pythonsitelib}}/fedoracommunity/search/distmappings.py"
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- restart fcomm-cache-worker
tags:
- packages

View file

@ -2,7 +2,7 @@
- name: setup pager app config
copy: src=pager-app.conf dest=/etc/httpd/conf.d/pager-app.conf mode=644
notify:
- restart httpd
- reload httpd
tags:
- config
- pager_server

View file

@ -59,7 +59,7 @@
- pagure
- pagure/fedmsg
notify:
- restart httpd
- reload httpd
- restart fedmsg-relay
- name: Remove unwanted files
@ -72,7 +72,7 @@
- pagure
- pagure/fedmsg
notify:
- restart httpd
- reload httpd
- restart fedmsg-relay
- name: setup /etc/pki/fedmsg directory

View file

@ -27,21 +27,21 @@
copy: src=sticky-notes.conf dest=/etc/httpd/conf.d/sticky-notes.conf owner=root group=root mode=644
tags:
- config
notify: restart httpd
notify: reload httpd
- name: sticky-notes php config
template: src=config.php dest=/etc/sticky-notes/config.php owner=apache group=apache mode=600
tags:
- config
notify: restart httpd
notify: reload httpd
- name: php post limit config
copy: src=sticky-notes.ini dest=/etc/php.d/sticky-notes.ini owner=root group=root mode=644
notify: restart httpd
notify: reload httpd
- name: timeout in case url.ca goes down
copy: src=class_urlshort.php dest=/usr/share/sticky-notes/classes/class_urlshort.php owner=root group=root mode=644
notify: restart httpd
notify: reload httpd
- name: set sebooleans so paste can talk to the db
seboolean: name=httpd_can_network_connect_db state=true persistent=true

View file

@ -30,13 +30,13 @@
- name: Copy over settings_local.py
template: src=settings_local.py dest=/usr/lib/python2.7/site-packages/pdc/settings_local.py
notify: restart httpd
notify: reload httpd
tags:
- pdc
- name: Copy over httpd config
template: src=pdc.conf dest=/etc/httpd/conf.d/pdc.conf
notify: restart httpd
notify: reload httpd
tags:
- pdc

View file

@ -64,7 +64,7 @@
- name: update php.ini
copy: src=php.ini dest=/etc/php.d/php.ini owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- name: update php-opcache config
copy:
@ -162,6 +162,6 @@
- name: copy phabricator httpd config
template: src=phabricator.conf.j2 dest=/etc/httpd/conf.d/phabricator.conf owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd

View file

@ -10,6 +10,6 @@
with_items:
- fedora-releng-dash.conf
notify:
- restart httpd
- reload httpd
tags:
- releng-dash

View file

@ -147,7 +147,7 @@
group=root
mode=0644
notify:
- restart httpd
- reload httpd
tags:
- config
when: inventory_hostname.startswith('compose-x86-01')

View file

@ -10,7 +10,7 @@
dest=/etc/httpd/conf.d/{{website}}/review-stats.conf
owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
tags:
- review-stats
- review-stats/proxy

View file

@ -43,13 +43,13 @@
- name: copy httpd config
template: src=buildmaster.conf.j2 dest=/etc/httpd/conf.d/buildmaster.conf owner=root group=root
notify:
- restart httpd
- reload httpd
- name: copy artifacts httpd config
template: src=artifacts.conf.j2 dest=/etc/httpd/conf.d/artifacts.conf owner=root group=root
when: deployment_type == 'prod' or deployment_type == 'stg' or deployment_type == 'dev' or deployment_type == 'local'
notify:
- restart httpd
- reload httpd
- name: create artifacts directory
file: path={{ item }} state=directory owner=buildmaster group=buildmaster mode=0775 setype=httpd_sys_content_t

View file

@ -57,12 +57,12 @@
- name: generate execdb config
template: src=settings.py.j2 dest=/etc/execdb/settings.py owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- name: generate execdb apache config
template: src=execdb.conf.j2 dest=/etc/httpd/conf.d/execdb.conf owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- name: generate alembic.ini
template: src=alembic.ini.j2 dest=/usr/share/execdb/alembic.ini owner=root group=root mode=0644

View file

@ -42,9 +42,9 @@
- name: generate fakefedorainfra config
template: src=settings.py.j2 dest=/etc/fake_fedorainfra/settings.py owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- name: generate fakefedorainfra apache config
template: src=fake_fedorainfra.conf.j2 dest=/etc/httpd/conf.d/fakefedorainfra.conf owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd

View file

@ -50,12 +50,12 @@
- name: generate resultsdb config
template: src=settings.py.j2 dest=/etc/resultsdb/settings.py owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- name: generate resultsdb apache config
template: src=resultsdb.conf.j2 dest=/etc/httpd/conf.d/resultsdb.conf owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
# this command will clear the exising database and it's now being run every time, regardless of whether
# /etc/resultsdb-is-init exists or not. We've already lost a lot of data, so commenting this command out

View file

@ -16,9 +16,9 @@
- name: generate resultsdb_frontend config
template: src=settings.py.j2 dest=/etc/resultsdb_frontend/settings.py owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- name: generate resultsdb_frontend apache config
template: src=resultsdb_frontend.conf.j2 dest=/etc/httpd/conf.d/resultsdb_frontend.conf owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd

View file

@ -21,11 +21,11 @@
template: src=ssl.conf.rhel.j2 dest=/etc/httpd/conf.d/ssl.conf owner=root group=root mode=0644
when: is_rhel is defined
notify:
- restart httpd
- reload httpd
- name: generate fedora httpd ssl config
template: src=ssl.conf.j2 dest=/etc/httpd/conf.d/ssl.conf owner=root group=root mode=0644
when: is_fedora is defined
notify:
- restart httpd
- reload httpd

View file

@ -21,9 +21,9 @@
- name: copy resultsdb proxy httpd config
template: src=resultsdb.conf.j2 dest=/etc/httpd/conf.d/resultsdb.conf owner=root group=root
notify:
- restart httpd
- reload httpd
- name: copy execdb proxy httpd config
template: src=execdb.conf.j2 dest=/etc/httpd/conf.d/execdb.conf owner=root group=root
notify:
- restart httpd
- reload httpd

View file

@ -25,10 +25,10 @@
- name: generate testdays config
template: src=settings.py.j2 dest=/etc/testdays/settings.py owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd
- name: generate testdays apache config
template: src=testdays.conf.j2 dest=/etc/httpd/conf.d/testdays.conf owner=root group=root mode=0644
notify:
- restart httpd
- reload httpd

View file

@ -139,7 +139,7 @@
- files
- config
notify:
- restart httpd
- reload httpd
when: env == "production"
- name: copy server cert file over
@ -153,7 +153,7 @@
- files
- config
notify:
- restart httpd
- reload httpd
when: env == "production"
- name: copy totpcgi httpd config
@ -167,7 +167,7 @@
- files
- config
notify:
- restart httpd
- reload httpd
when: env == "production"
# vpn certs
@ -183,7 +183,7 @@
- files
- config
notify:
- restart httpd
- reload httpd
when: env == "production"
- name: copy VPN server cert file over