Use first uppercase letter for all handlers

This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2025-02-07 13:51:07 +01:00 committed by kevin
parent 2ad6517991
commit 2ec055db6f
168 changed files with 566 additions and 566 deletions
handlers
playbooks
roles
abrt
faf-post/handlers
faf-pre
faf
handlers
tasks
retrace
handlers
tasks
apache/tasks
apps-fp-o/tasks
base/tasks
basessh/tasks
batcave/tasks
blockerbugs/tasks
bodhi2/backend/tasks
btrfs/tasks
bugzilla2fedmsg/tasks
check-compose
handlers
tasks
chrony/tasks
collectd
base/tasks
bind/tasks
fcomm-queue/tasks
fedmsg-activation/tasks
fedmsg-service/tasks
memcached/tasks
postgres/tasks
rabbitmq/tasks
server/tasks
web-service/tasks
copr
backend
base
handlers
tasks
certbot/templates
dist_git
handlers
tasks
frontend
hypervisor/tasks
keygen/tasks
developer/website/tasks
dhcp_server/tasks
distgit
pagure
handlers
tasks
tasks
dns/tasks
docker-distribution/tasks
download/tasks
easyfix/proxy/tasks
fedmsg
base/tasks
crl/tasks
gateway
slave/tasks
tasks
hub/tasks
irc/tasks
relay/tasks
fedora-budget/proxy/tasks
fedora-docs/proxy/tasks
fedora-web
alt/tasks
candidate-registry/tasks
codecs/tasks
community/tasks
fedora.im/tasks
flocktofedora/tasks
getfedora/tasks
iot/tasks
labs/tasks
main/tasks
mirrors/tasks
ols/tasks
ostree/tasks
registry/tasks
src/tasks
start/tasks
fedora_nightlies
handlers
tasks
fedoraloveskde/website/tasks
freemedia/tasks
geoip-city-wsgi
app/tasks
proxy/tasks
git/server/tasks
github2fedmsg/tasks
haproxy
rewrite/tasks
tasks

View file

@ -2,207 +2,207 @@
# Handlers for restarting services # Handlers for restarting services
# #
--- ---
- name: reload systemd - name: Reload systemd
ansible.builtin.command: systemctl daemon-reload ansible.builtin.command: systemctl daemon-reload
- name: restart apache - name: Restart apache
ansible.builtin.command: /usr/local/bin/conditional-restart.sh httpd httpd ansible.builtin.command: /usr/local/bin/conditional-restart.sh httpd httpd
- name: reload apache - name: Reload apache
action: service name=httpd state=reloaded action: service name=httpd state=reloaded
- name: restart collectd - name: Restart collectd
action: service name=collectd state=restarted action: service name=collectd state=restarted
- name: restart crond - name: Restart crond
action: service name=crond state=restarted action: service name=crond state=restarted
- name: restart fedmsg-gateway - name: Restart fedmsg-gateway
ansible.builtin.command: /usr/local/bin/conditional-restart.sh fedmsg-gateway ansible.builtin.command: /usr/local/bin/conditional-restart.sh fedmsg-gateway
- name: restart fedmsg-hub - name: Restart fedmsg-hub
ansible.builtin.command: /usr/local/bin/conditional-restart.sh {{ item }} ansible.builtin.command: /usr/local/bin/conditional-restart.sh {{ item }}
with_items: with_items:
- fedmsg-hub - fedmsg-hub
- fedmsg-hub-3 - fedmsg-hub-3
- name: restart fedmsg-hub-3 - name: Restart fedmsg-hub-3
ansible.builtin.command: /usr/local/bin/conditional-restart.sh {{ item }} ansible.builtin.command: /usr/local/bin/conditional-restart.sh {{ item }}
with_items: with_items:
- fedmsg-hub - fedmsg-hub
- fedmsg-hub-3 - fedmsg-hub-3
- name: restart fedmsg-irc - name: Restart fedmsg-irc
ansible.builtin.command: /usr/local/bin/conditional-restart.sh fedmsg-irc ansible.builtin.command: /usr/local/bin/conditional-restart.sh fedmsg-irc
- name: restart fedmsg-relay - name: Restart fedmsg-relay
ansible.builtin.command: /usr/local/bin/conditional-restart.sh fedmsg-relay ansible.builtin.command: /usr/local/bin/conditional-restart.sh fedmsg-relay
- name: restart fm-consumer@koji_sync_listener - name: Restart fm-consumer@koji_sync_listener
action: service name=fm-consumer@koji_sync_listener state=restarted enabled=yes action: service name=fm-consumer@koji_sync_listener state=restarted enabled=yes
- name: reload httpd - name: Reload httpd
ansible.builtin.command: /usr/local/bin/conditional-reload.sh httpd httpd ansible.builtin.command: /usr/local/bin/conditional-reload.sh httpd httpd
- name: restart iptables - name: Restart iptables
action: service name=iptables state=restarted action: service name=iptables state=restarted
- name: restart ip6tables - name: Restart ip6tables
action: service name=ip6tables state=restarted action: service name=ip6tables state=restarted
- name: restart libvirtd - name: Restart libvirtd
action: service name=libvirtd state=restarted action: service name=libvirtd state=restarted
- name: restart virtnetworkd - name: Restart virtnetworkd
action: service name=virtnetworkd state=restarted action: service name=virtnetworkd state=restarted
- name: restart libvirtd.socket - name: Restart libvirtd.socket
action: service name=libvirtd.socket state=stopped action: service name=libvirtd.socket state=stopped
notify: restart libvirtd notify: Restart libvirtd
- name: restart mailman - name: Restart mailman
action: service name=mailman state=restarted action: service name=mailman state=restarted
- name: restart named - name: Restart named
action: service name=named state=restarted action: service name=named state=restarted
- name: restart ntpd - name: Restart ntpd
action: service name=ntpd state=restarted action: service name=ntpd state=restarted
- name: restart sshd - name: Restart sshd
action: service name=sshd state=restarted action: service name=sshd state=restarted
- name: restart openvpn (Fedora) - name: Restart openvpn (Fedora)
when: ansible_distribution == "Fedora" when: ansible_distribution == "Fedora"
action: service name=openvpn-client@openvpn state=restarted action: service name=openvpn-client@openvpn state=restarted
# notify: # notify:
# - fix openvpn routing # - Fix openvpn routing
- name: restart openvpn (RHEL7+) - name: Restart openvpn (RHEL7+)
when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int >= 7 when: ansible_distribution == "RedHat" and ansible_distribution_major_version|int >= 7
action: service name=openvpn-client@openvpn state=restarted action: service name=openvpn-client@openvpn state=restarted
# notify: # notify:
# - fix openvpn routing # - Fix openvpn routing
- name: fix openvpn routing - name: Fix openvpn routing
action: shell /etc/openvpn/fix-routes.sh action: shell /etc/openvpn/fix-routes.sh
- name: restart xinetd - name: Restart xinetd
action: service name=xinetd state=restarted action: service name=xinetd state=restarted
when: not inventory_hostname.startswith('proxy') when: not inventory_hostname.startswith('proxy')
- name: restart netapproute - name: Restart netapproute
action: command /etc/sysconfig/network-scripts/ifup-routes eth1 action: command /etc/sysconfig/network-scripts/ifup-routes eth1
- name: restart network - name: Restart network
action: service name=network state=restarted action: service name=network state=restarted
- name: rebuild postfix transport - name: Rebuild postfix transport
ansible.builtin.command: /usr/sbin/postmap /etc/postfix/transport ansible.builtin.command: /usr/sbin/postmap /etc/postfix/transport
- name: rebuild postfix bysender - name: Rebuild postfix bysender
ansible.builtin.command: /usr/sbin/postmap /etc/postfix/bysender ansible.builtin.command: /usr/sbin/postmap /etc/postfix/bysender
- name: rebuild postfix tls_policy - name: Rebuild postfix tls_policy
ansible.builtin.command: /usr/sbin/postmap /etc/postfix/tls_policy ansible.builtin.command: /usr/sbin/postmap /etc/postfix/tls_policy
- name: restart postfix - name: Restart postfix
service: name=postfix state=restarted service: name=postfix state=restarted
- name: reload proxyhttpd - name: Reload proxyhttpd
ansible.builtin.command: /usr/local/bin/proxy-conditional-reload.sh httpd httpd ansible.builtin.command: /usr/local/bin/proxy-conditional-reload.sh httpd httpd
- name: run rkhunter - name: Run rkhunter
ansible.builtin.command: rkhunter --propupd ansible.builtin.command: rkhunter --propupd
- name: restart moksha-hub - name: Restart moksha-hub
service: name=moksha-hub state=restarted service: name=moksha-hub state=restarted
- name: restart dhcpd - name: Restart dhcpd
service: name=dhcpd state=restarted service: name=dhcpd state=restarted
- name: restart memcached - name: Restart memcached
service: name=memcached state=restarted service: name=memcached state=restarted
- name: restart nagios - name: Restart nagios
ansible.builtin.shell: nagios -v /etc/nagios/nagios.cfg && systemctl restart nagios ansible.builtin.shell: nagios -v /etc/nagios/nagios.cfg && systemctl restart nagios
- name: restart bridge - name: Restart bridge
ansible.builtin.shell: /usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge ansible.builtin.shell: /usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge
- name: reload libvirtd - name: Reload libvirtd
service: name=libvirtd state=reloaded service: name=libvirtd state=reloaded
ignore_errors: true ignore_errors: true
when: ansible_virtualization_role == 'host' when: ansible_virtualization_role == 'host'
- name: restart pagure_ev - name: Restart pagure_ev
service: name=pagure_ev state=restarted service: name=pagure_ev state=restarted
- name: "update ca-trust" - name: Update ca-trust
ansible.builtin.command: /usr/bin/update-ca-trust ansible.builtin.command: /usr/bin/update-ca-trust
- name: restart stunnel - name: Restart stunnel
service: name=stunnel state=restarted service: name=stunnel state=restarted
- name: restart mirrorlist-server - name: Restart mirrorlist-server
service: name=mirrorlist-server state=restarted service: name=mirrorlist-server state=restarted
- name: restart NetworkManager - name: Restart NetworkManager
service: name=NetworkManager state=restarted service: name=NetworkManager state=restarted
- name: reload NetworkManager-connections - name: Reload NetworkManager-connections
ansible.builtin.command: nmcli c reload ansible.builtin.command: nmcli c reload
- name: restart basset-worker - name: Restart basset-worker
service: name=basset-worker state=restarted service: name=basset-worker state=restarted
- name: apply interface-changes - name: Apply interface-changes
ansible.builtin.command: nmcli con up {{ item.split()[1] }} ansible.builtin.command: nmcli con up {{ item.split()[1] }}
async: 1 async: 1
poll: 0 poll: 0
loop: "{{ if_uuid.stdout_lines|flatten(levels=1) }}" loop: "{{ if_uuid.stdout_lines|flatten(levels=1) }}"
when: item.split()[1] not in ansible_ifcfg_disabled when: item.split()[1] not in ansible_ifcfg_disabled
- name: flush journald tmpfiles to persistent store - name: Flush journald tmpfiles to persistent store
ansible.builtin.command: pkill -f -USR1 systemd-journald ansible.builtin.command: pkill -f -USR1 systemd-journald
- name: restart idmapd - name: Restart idmapd
service: name=nfs-idmapd state=restarted service: name=nfs-idmapd state=restarted
- name: restart buildmaster - name: Restart buildmaster
service: name=buildmaster state=restarted service: name=buildmaster state=restarted
- name: restart rabbitmq - name: Restart rabbitmq
systemd: systemd:
name: rabbitmq-server name: rabbitmq-server
state: restarted state: restarted
daemon_reload: yes daemon_reload: yes
- name: restart chronyd - name: Restart chronyd
service: name=chronyd state=restarted service: name=chronyd state=restarted
- name: restart kojira - name: Restart kojira
systemd: systemd:
name: kojira name: kojira
state: restarted state: restarted
- name: restart haveged - name: Restart haveged
service: name=haveged state=restarted service: name=haveged state=restarted
- name: restart obs-signd - name: Restart obs-signd
service: name=signd state=restarted service: name=signd state=restarted
- name: restart swap.swap - name: Restart swap.swap
service: name="swap.swap" state=restarted service: name="swap.swap" state=restarted
- name: restart varnish - name: Restart varnish
service: name=varnish state=restarted service: name=varnish state=restarted
- name: reload varnish - name: Reload varnish
service: name=varnish state=reload service: name=varnish state=reload
- name: restart systemd-oomd - name: Restart systemd-oomd
service: name=systemd-oomd state=reload service: name=systemd-oomd state=reload
- name: restart debuginfod - name: Restart debuginfod
service: name=debuginfod state=restarted service: name=debuginfod state=restarted

View file

@ -55,7 +55,7 @@
ansible.builtin.copy: src="{{ files }}/debuginfod/sysconfig.debuginfod" dest=/etc/sysconfig/debuginfod owner=root group=root mode=644 ansible.builtin.copy: src="{{ files }}/debuginfod/sysconfig.debuginfod" dest=/etc/sysconfig/debuginfod owner=root group=root mode=644
tags: debuginfod tags: debuginfod
notify: notify:
- restart debuginfod - Restart debuginfod
- name: Ensure systemd drop-in directory exists - name: Ensure systemd drop-in directory exists
ansible.builtin.file: > ansible.builtin.file: >
@ -67,7 +67,7 @@
tags: debuginfod tags: debuginfod
ansible.builtin.copy: src="{{ files }}/debuginfod/debuginfod.service.d" dest=/etc/systemd/system/debuginfod.service.d/override.conf owner=root group=root mode=644 ansible.builtin.copy: src="{{ files }}/debuginfod/debuginfod.service.d" dest=/etc/systemd/system/debuginfod.service.d/override.conf owner=root group=root mode=644
notify: notify:
- restart debuginfod - Restart debuginfod
- name: Ensure debuginfod is enabled and started - name: Ensure debuginfod is enabled and started
service: service:

View file

@ -50,7 +50,7 @@
service: HTTP service: HTTP
host: "id{{env_suffix}}.fedoraproject.org" host: "id{{env_suffix}}.fedoraproject.org"
notify: notify:
- combine IPA http keytabs - Combine IPA http keytabs
handlers: handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -140,7 +140,7 @@
ansible.builtin.copy: src=/root/ticketkey_{{env}}.tkey dest=/etc/httpd/ticketkey_{{env}}.tkey ansible.builtin.copy: src=/root/ticketkey_{{env}}.tkey dest=/etc/httpd/ticketkey_{{env}}.tkey
owner=root group=root mode=0600 owner=root group=root mode=0600
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
# #
# If this is an initial deployment, make sure docs are synced over. # If this is an initial deployment, make sure docs are synced over.

View file

@ -19,7 +19,7 @@
dest=/etc/httpd/conf.d/apps.fedoraproject.org/fedora-releng-dash.conf dest=/etc/httpd/conf.d/apps.fedoraproject.org/fedora-releng-dash.conf
state=absent state=absent
tags: releng-dash tags: releng-dash
notify: reload proxyhttpd notify: Reload proxyhttpd
roles: roles:

View file

@ -23,7 +23,7 @@
- meetbot.fedoraproject.org/reversepassproxy.conf - meetbot.fedoraproject.org/reversepassproxy.conf
- meetbot.fedoraproject.org/meetbot.conf - meetbot.fedoraproject.org/meetbot.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- httpd - httpd
- httpd/reverseproxy - httpd/reverseproxy

View file

@ -22,7 +22,7 @@
- python3-copr-common - python3-copr-common
update_cache: true update_cache: true
notify: notify:
- restart haveged - Restart haveged
handlers: handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -21,7 +21,7 @@
- python3-copr-common - python3-copr-common
update_cache: true update_cache: true
notify: notify:
- restart haveged - Restart haveged
handlers: handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -36,4 +36,4 @@
ansible.builtin.copy: src=/root/ticketkey_{{env}}.tkey dest=/etc/httpd/ticketkey_{{env}}.tkey ansible.builtin.copy: src=/root/ticketkey_{{env}}.tkey dest=/etc/httpd/ticketkey_{{env}}.tkey
owner=root group=root mode=0600 owner=root group=root mode=0600
notify: notify:
- reload proxyhttpd - Reload proxyhttpd

View file

@ -1,7 +1,7 @@
--- ---
- name: restart httpd - name: Restart httpd
service: name=httpd state=restarted service: name=httpd state=restarted
- name: restart postgresql - name: Restart postgresql
service: name=postgresql service: name=postgresql
state=restarted state=restarted

View file

@ -1,10 +1,10 @@
--- ---
- name: restart httpd - name: Restart httpd
service: service:
name: httpd name: httpd
state: restarted state: restarted
- name: restart postgresql - name: Restart postgresql
service: service:
name: postgresql name: postgresql
state: restarted state: restarted

View file

@ -52,53 +52,53 @@
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'ADMINS =' regexp: 'ADMINS ='
line: ' ADMINS = "infrastructure@lists.fedoraproject.org"' line: ' ADMINS = "infrastructure@lists.fedoraproject.org"'
notify: restart httpd notify: Restart httpd
- name: Configure MORE_FAF - name: Configure MORE_FAF
lineinfile: lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_FAF =' regexp: 'MORE_FAF ='
line: ' MORE_FAF = "https://github.com/abrt/faf/"' line: ' MORE_FAF = "https://github.com/abrt/faf/"'
notify: restart httpd notify: Restart httpd
- name: Configure MORE_RS - name: Configure MORE_RS
lineinfile: lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_RS =' regexp: 'MORE_RS ='
line: ' MORE_RS = "https://github.com/abrt/retrace-server"' line: ' MORE_RS = "https://github.com/abrt/retrace-server"'
notify: restart httpd notify: Restart httpd
- name: Configure MORE_ABRT - name: Configure MORE_ABRT
lineinfile: lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_ABRT =' regexp: 'MORE_ABRT ='
line: ' MORE_ABRT = "https://github.com/abrt/abrt/"' line: ' MORE_ABRT = "https://github.com/abrt/abrt/"'
notify: restart httpd notify: Restart httpd
- name: Configure MORE_GABRT - name: Configure MORE_GABRT
lineinfile: lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_GABRT =' regexp: 'MORE_GABRT ='
line: ' MORE_GABRT = "https://github.com/abrt/gnome-abrt/"' line: ' MORE_GABRT = "https://github.com/abrt/gnome-abrt/"'
notify: restart httpd notify: Restart httpd
- name: Configure MORE_LR - name: Configure MORE_LR
lineinfile: lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_LR =' regexp: 'MORE_LR ='
line: ' MORE_LR = "https://github.com/abrt/libreport/"' line: ' MORE_LR = "https://github.com/abrt/libreport/"'
notify: restart httpd notify: Restart httpd
- name: Configure MORE_SATYR - name: Configure MORE_SATYR
lineinfile: lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'MORE_SATYR =' regexp: 'MORE_SATYR ='
line: ' MORE_SATYR = "https://github.com/abrt/satyr/"' line: ' MORE_SATYR = "https://github.com/abrt/satyr/"'
notify: restart httpd notify: Restart httpd
- name: Configure URL_FOR_FAF - name: Configure URL_FOR_FAF
lineinfile: lineinfile:
dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py
regexp: 'URL_FOR_FAF =' regexp: 'URL_FOR_FAF ='
line: ' URL_FOR_FAF = "https://{{ faf_server_name }}"' line: ' URL_FOR_FAF = "https://{{ faf_server_name }}"'
notify: restart httpd notify: Restart httpd

View file

@ -9,56 +9,56 @@
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^max_connections =' regexp: '^max_connections ='
line: 'max_connections = 150' line: 'max_connections = 150'
notify: restart postgresql notify: Restart postgresql
- name: Set shared_buffers for PostgreSQL - name: Set shared_buffers for PostgreSQL
lineinfile: lineinfile:
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^shared_buffers =' regexp: '^shared_buffers ='
line: 'shared_buffers = 25536MB' line: 'shared_buffers = 25536MB'
notify: restart postgresql notify: Restart postgresql
- name: Set effective_cache_size for PostgreSQL - name: Set effective_cache_size for PostgreSQL
lineinfile: lineinfile:
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^effective_cache_size =' regexp: '^effective_cache_size ='
line: 'effective_cache_size = 50608MB' line: 'effective_cache_size = 50608MB'
notify: restart postgresql notify: Restart postgresql
- name: Set work_mem for PostgreSQL - name: Set work_mem for PostgreSQL
lineinfile: lineinfile:
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^work_mem =' regexp: '^work_mem ='
line: 'work_mem = 6MB' line: 'work_mem = 6MB'
notify: restart postgresql notify: Restart postgresql
- name: Set maintenance_work_mem for PostgreSQL - name: Set maintenance_work_mem for PostgreSQL
lineinfile: lineinfile:
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^maintenance_work_mem =' regexp: '^maintenance_work_mem ='
line: 'maintenance_work_mem = 2GB' line: 'maintenance_work_mem = 2GB'
notify: restart postgresql notify: Restart postgresql
- name: Set checkpoint_completion_target for PostgreSQL - name: Set checkpoint_completion_target for PostgreSQL
lineinfile: lineinfile:
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^checkpoint_completion_target =' regexp: '^checkpoint_completion_target ='
line: 'checkpoint_completion_target = 0.9' line: 'checkpoint_completion_target = 0.9'
notify: restart postgresql notify: Restart postgresql
- name: Set wal_buffers for PostgreSQL - name: Set wal_buffers for PostgreSQL
lineinfile: lineinfile:
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^wal_buffers =' regexp: '^wal_buffers ='
line: 'wal_buffers = -1' line: 'wal_buffers = -1'
notify: restart postgresql notify: Restart postgresql
- name: Set default_statistics_target for PostgreSQL - name: Set default_statistics_target for PostgreSQL
lineinfile: lineinfile:
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^default_statistics_target =' regexp: '^default_statistics_target ='
line: 'default_statistics_target = 100' line: 'default_statistics_target = 100'
notify: restart postgresql notify: Restart postgresql
- name: Drop faf database - name: Drop faf database
postgresql_db: postgresql_db:

View file

@ -1,5 +1,5 @@
--- ---
- name: restart httpd - name: Restart httpd
service: service:
name: httpd name: httpd
state: restarted state: restarted

View file

@ -29,11 +29,11 @@
src: etc-faf-plugins-web.conf.j2 src: etc-faf-plugins-web.conf.j2
dest: /etc/faf/plugins/web.conf dest: /etc/faf/plugins/web.conf
notify: notify:
- restart httpd - Restart httpd
- name: Put webfaf on root (/) if configured - name: Put webfaf on root (/) if configured
ansible.builtin.template: ansible.builtin.template:
src: etc-httpd-conf.d-faf-web.conf.j2 src: etc-httpd-conf.d-faf-web.conf.j2
dest: /etc/httpd/conf.d/faf-web.conf dest: /etc/httpd/conf.d/faf-web.conf
notify: notify:
- restart httpd - Restart httpd

View file

@ -1,5 +1,5 @@
--- ---
- name: restart httpd - name: Restart httpd
service: service:
name: httpd name: httpd
state: restarted state: restarted

View file

@ -4,18 +4,18 @@
src: etc-retrace-server.conf.j2 src: etc-retrace-server.conf.j2
dest: /etc/retrace-server/retrace-server.conf dest: /etc/retrace-server/retrace-server.conf
mode: "0644" mode: "0644"
notify: restart httpd notify: Restart httpd
- name: Retrace-server http config - name: Retrace-server http config
ansible.builtin.template: ansible.builtin.template:
src: retrace-server-httpd.conf.j2 src: retrace-server-httpd.conf.j2
dest: /etc/httpd/conf.d/retrace-server-httpd.conf dest: /etc/httpd/conf.d/retrace-server-httpd.conf
mode: "0644" mode: "0644"
notify: restart httpd notify: Restart httpd
- name: Configure retrace-server hooks config - name: Configure retrace-server hooks config
ansible.builtin.template: ansible.builtin.template:
src: etc-retrace-server-hooks.conf.j2 src: etc-retrace-server-hooks.conf.j2
dest: /etc/retrace-server/retrace-server-hooks.conf dest: /etc/retrace-server/retrace-server-hooks.conf
mode: "0644" mode: "0644"
notify: restart httpd notify: Restart httpd

View file

@ -25,7 +25,7 @@
service: name=httpd enabled=yes service: name=httpd enabled=yes
ignore_errors: true ignore_errors: true
notify: notify:
- reload apache - Reload apache
tags: tags:
- service - service
- apache - apache
@ -36,7 +36,7 @@
owner=root group=root mode=0755 owner=root group=root mode=0755
when: ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora' when: ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora'
notify: notify:
- reload apache - Reload apache
tags: tags:
- config - config
- hotfix - hotfix
@ -48,7 +48,7 @@
owner=root group=root mode=0755 owner=root group=root mode=0755
when: ansible_distribution_major_version|int <= 8 and ansible_distribution == 'RedHat' when: ansible_distribution_major_version|int <= 8 and ansible_distribution == 'RedHat'
notify: notify:
- reload apache - Reload apache
tags: tags:
- config - config
- hotfix - hotfix
@ -57,7 +57,7 @@
- name: Add appserver headers.conf - name: Add appserver headers.conf
ansible.builtin.template: src="{{ files }}/httpd/headers.conf.j2" dest=/etc/httpd/conf.d/headers.conf ansible.builtin.template: src="{{ files }}/httpd/headers.conf.j2" dest=/etc/httpd/conf.d/headers.conf
notify: notify:
- reload apache - Reload apache
tags: tags:
- config - config
- apache - apache
@ -67,7 +67,7 @@
ansible.builtin.template: src="{{ files }}/httpd/h2.conf.j2" dest=/etc/httpd/conf.d/h2.conf ansible.builtin.template: src="{{ files }}/httpd/h2.conf.j2" dest=/etc/httpd/conf.d/h2.conf
when: ansible_distribution == 'Fedora' when: ansible_distribution == 'Fedora'
notify: notify:
- reload apache - Reload apache
tags: tags:
- config - config
- apache - apache
@ -76,7 +76,7 @@
- name: Add apache_status location for collectd - name: Add apache_status location for collectd
ansible.builtin.template: src="{{ files }}/httpd/apachestatus.conf" dest=/etc/httpd/conf.d/apachestatus.conf ansible.builtin.template: src="{{ files }}/httpd/apachestatus.conf" dest=/etc/httpd/conf.d/apachestatus.conf
notify: notify:
- reload apache - Reload apache
tags: tags:
- config - config
- apache - apache

View file

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

View file

@ -246,7 +246,7 @@
- config - config
- base - base
notify: notify:
- flush journald tmpfiles to persistent store - Flush journald tmpfiles to persistent store
- name: Enable journald persistence - name: Enable journald persistence
ansible.builtin.file: path=/var/log/journal state=directory ansible.builtin.file: path=/var/log/journal state=directory
@ -257,7 +257,7 @@
- config - config
- base - base
notify: notify:
- flush journald tmpfiles to persistent store - Flush journald tmpfiles to persistent store
- name: Install rh ca for splunk - name: Install rh ca for splunk
ansible.builtin.copy: src={{ private }}/files/splunk-certs/2022-IT-Root-CA.pem ansible.builtin.copy: src={{ private }}/files/splunk-certs/2022-IT-Root-CA.pem

View file

@ -10,7 +10,7 @@
- "postfix/main.cf/main.cf.{{ datacenter }}" - "postfix/main.cf/main.cf.{{ datacenter }}"
- "postfix/main.cf/main.cf" - "postfix/main.cf/main.cf"
notify: notify:
- restart postfix - Restart postfix
tags: tags:
- postfix - postfix
- config - config
@ -26,7 +26,7 @@
- "postfix/master.cf/master.cf" - "postfix/master.cf/master.cf"
when: inventory_hostname.startswith(('smtp-mm', 'mailman', 'noc02', 'bastion', 'smtp-auth')) when: inventory_hostname.startswith(('smtp-mm', 'mailman', 'noc02', 'bastion', 'smtp-auth'))
notify: notify:
- restart postfix - Restart postfix
tags: tags:
- postfix - postfix
- config - config
@ -36,7 +36,7 @@
ansible.builtin.copy: src="{{private}}/files/smtpd/sender_access.{{postfix_group}}" dest="/etc/postfix/sender_access" ansible.builtin.copy: src="{{private}}/files/smtpd/sender_access.{{postfix_group}}" dest="/etc/postfix/sender_access"
when: postfix_group == "smtp-mm" or postfix_group == "mailman" or postfix_group == "gateway" when: postfix_group == "smtp-mm" or postfix_group == "mailman" or postfix_group == "gateway"
notify: notify:
- restart postfix - Restart postfix
tags: tags:
- postfix - postfix
- config - config
@ -49,7 +49,7 @@
option: PrivateDevices option: PrivateDevices
value: false value: false
notify: notify:
- reload systemd - Reload systemd
when: inventory_hostname.startswith(('buildvm-s390x')) when: inventory_hostname.startswith(('buildvm-s390x'))
tags: tags:
- postfix - postfix
@ -66,8 +66,8 @@
ansible.builtin.copy: src="postfix/{{ postfix_transport_filename }}" dest=/etc/postfix/transport ansible.builtin.copy: src="postfix/{{ postfix_transport_filename }}" dest=/etc/postfix/transport
when: inventory_hostname.startswith(('smtp-mm','bastion','noc02')) and env != 'staging' when: inventory_hostname.startswith(('smtp-mm','bastion','noc02')) and env != 'staging'
notify: notify:
- rebuild postfix transport - Rebuild postfix transport
- restart postfix - Restart postfix
tags: tags:
- postfix - postfix
- base - base
@ -77,8 +77,8 @@
ansible.builtin.copy: src="postfix/bysender" dest=/etc/postfix/bysender ansible.builtin.copy: src="postfix/bysender" dest=/etc/postfix/bysender
when: inventory_hostname.startswith(('bastion')) and env != 'staging' when: inventory_hostname.startswith(('bastion')) and env != 'staging'
notify: notify:
- rebuild postfix bysender - Rebuild postfix bysender
- restart postfix - Restart postfix
tags: tags:
- postfix - postfix
- base - base
@ -88,8 +88,8 @@
ansible.builtin.copy: src="postfix/tls_policy" dest=/etc/postfix/tls_policy ansible.builtin.copy: src="postfix/tls_policy" dest=/etc/postfix/tls_policy
when: inventory_hostname.startswith(('bastion','smtp-mm','pagure')) and env != 'staging' when: inventory_hostname.startswith(('bastion','smtp-mm','pagure')) and env != 'staging'
notify: notify:
- rebuild postfix tls_policy - Rebuild postfix tls_policy
- restart postfix - Restart postfix
tags: tags:
- postfix - postfix
@ -105,6 +105,6 @@
mode=0600 mode=0600
when: inventory_hostname.startswith(('bastion','smtp-mm')) and env != 'staging' when: inventory_hostname.startswith(('bastion','smtp-mm')) and env != 'staging'
notify: notify:
- restart postfix - Restart postfix
tags: tags:
- postfix - postfix

View file

@ -74,7 +74,7 @@
- name: Sshd_config - name: Sshd_config
ansible.builtin.template: src=sshd_config dest=/etc/ssh/sshd_config mode=0600 ansible.builtin.template: src=sshd_config dest=/etc/ssh/sshd_config mode=0600
notify: notify:
- restart sshd - Restart sshd
tags: tags:
- basessh - basessh
- sshd_config - sshd_config
@ -217,7 +217,7 @@
with_items: "{{certs_to_sign}}" with_items: "{{certs_to_sign}}"
register: certcopy register: certcopy
notify: notify:
- restart sshd - Restart sshd
tags: tags:
- basessh - basessh
- sshd_cert - sshd_cert

View file

@ -342,7 +342,7 @@
- name: Install web server config for batcave (mimetypes) - name: Install web server config for batcave (mimetypes)
ansible.builtin.copy: src=mime-types.conf dest=/etc/httpd/conf.d/mime-types.conf mode=0644 ansible.builtin.copy: src=mime-types.conf dest=/etc/httpd/conf.d/mime-types.conf mode=0644
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- batcave - batcave
- config - config
@ -351,7 +351,7 @@
- name: Install web server config for batcave (access rules) - name: Install web server config for batcave (access rules)
ansible.builtin.copy: src=allows dest=/etc/httpd/conf.d/allows mode=0644 ansible.builtin.copy: src=allows dest=/etc/httpd/conf.d/allows mode=0644
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- batcave - batcave
- config - config
@ -360,7 +360,7 @@
- name: Install web server config for batcave (main config) - name: Install web server config for batcave (main config)
ansible.builtin.template: src=infrastructure.fedoraproject.org.conf.j2 dest=/etc/httpd/conf.d/infrastructure.fedoraproject.org.conf mode=0644 ansible.builtin.template: src=infrastructure.fedoraproject.org.conf.j2 dest=/etc/httpd/conf.d/infrastructure.fedoraproject.org.conf mode=0644
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- batcave - batcave
- config - config

View file

@ -14,7 +14,7 @@
- name: Setup blockerbugs apache conf - name: Setup blockerbugs apache conf
ansible.builtin.copy: src=blockerbugs.conf dest=/etc/httpd/conf.d/blockerbugs.conf mode=644 ansible.builtin.copy: src=blockerbugs.conf dest=/etc/httpd/conf.d/blockerbugs.conf mode=644
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- config - config
- httpd - httpd
@ -41,7 +41,7 @@
- name: Setup blockerbugs app settings file - name: Setup blockerbugs app settings file
ansible.builtin.template: src=blockerbugs-settings.py.j2 dest=/etc/blockerbugs/settings.py mode=640 ansible.builtin.template: src=blockerbugs-settings.py.j2 dest=/etc/blockerbugs/settings.py mode=640
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- config - config
- httpd - httpd
@ -53,7 +53,7 @@
- blockerbugs - blockerbugs
- apache - apache
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- config - config
- httpd - httpd

View file

@ -153,8 +153,8 @@
dest: /etc/fedora-messaging/koji_sync_listener.toml dest: /etc/fedora-messaging/koji_sync_listener.toml
when: env == "production" when: env == "production"
notify: notify:
- reload systemd - Reload systemd
- restart fm-consumer@koji_sync_listener - Restart fm-consumer@koji_sync_listener
tags: tags:
- bodhi - bodhi
- koji-sync - koji-sync
@ -405,7 +405,7 @@
group: root group: root
mode: "0644" mode: "0644"
notify: notify:
- reload systemd - Reload systemd
tags: tags:
- bodhi - bodhi
- config - config
@ -418,7 +418,7 @@
group: root group: root
mode: "0644" mode: "0644"
notify: notify:
- reload systemd - Reload systemd
tags: tags:
- bodhi - bodhi
- config - config

View file

@ -23,7 +23,7 @@
group: root group: root
mode: "0644" mode: "0644"
notify: notify:
- reload systemd - Reload systemd
- Restart btrfs-balance - Restart btrfs-balance

View file

@ -15,7 +15,7 @@
src=moksha-hub.service src=moksha-hub.service
dest=/usr/lib/systemd/system/moksha-hub.service dest=/usr/lib/systemd/system/moksha-hub.service
notify: notify:
- restart moksha-hub - Restart moksha-hub
tags: tags:
- bugzilla2fedmsg - bugzilla2fedmsg
@ -40,7 +40,7 @@
group=fedmsg group=fedmsg
mode=0640 mode=0640
notify: notify:
- restart moksha-hub - Restart moksha-hub
tags: tags:
- bugzilla2fedmsg - bugzilla2fedmsg
@ -53,7 +53,7 @@
- msg-client-fedora-prod.crt - msg-client-fedora-prod.crt
- msg-client-fedora-prod.key - msg-client-fedora-prod.key
notify: notify:
- restart moksha-hub - Restart moksha-hub
tags: tags:
- bugzilla2fedmsg - bugzilla2fedmsg

View file

@ -3,4 +3,4 @@
- name: Conditionally restart check-compose consumer service - name: Conditionally restart check-compose consumer service
ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@check-compose ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@check-compose
listen: listen:
- restart check-compose - Restart check-compose

View file

@ -134,7 +134,7 @@
ansible.builtin.command: "python3 -m pip install --no-deps /root/check-compose" ansible.builtin.command: "python3 -m pip install --no-deps /root/check-compose"
when: "gitcc is changed or instcc.rc != 0" when: "gitcc is changed or instcc.rc != 0"
notify: notify:
- restart check-compose - Restart check-compose
- name: Create /etc/pki/fedora-messaging - name: Create /etc/pki/fedora-messaging
ansible.builtin.file: ansible.builtin.file:
@ -179,7 +179,7 @@
- name: Configure fedora-messaging check-compose consumer - name: Configure fedora-messaging check-compose consumer
ansible.builtin.template: src=check-compose.toml.j2 dest=/etc/fedora-messaging/check-compose.toml owner=root group=root mode=0640 ansible.builtin.template: src=check-compose.toml.j2 dest=/etc/fedora-messaging/check-compose.toml owner=root group=root mode=0640
notify: notify:
- restart check-compose - Restart check-compose
tags: tags:
- config - config

View file

@ -9,7 +9,7 @@
- name: Install chrony.conf - name: Install chrony.conf
ansible.builtin.template: src=chrony.conf.j2 dest=/etc/chrony.conf ansible.builtin.template: src=chrony.conf.j2 dest=/etc/chrony.conf
notify: notify:
- restart chronyd - Restart chronyd
tags: tags:
- chrony - chrony
- config - config

View file

@ -42,7 +42,7 @@
tags: tags:
- collectd - collectd
notify: notify:
- restart collectd - Restart collectd
# install collectd-network config # install collectd-network config
- name: /etc/collectd.d/network.conf - name: /etc/collectd.d/network.conf
@ -50,7 +50,7 @@
tags: tags:
- collectd - collectd
notify: notify:
- restart collectd - Restart collectd
when: not inventory_hostname.startswith('log') when: not inventory_hostname.startswith('log')
# install collectd-network config # install collectd-network config
@ -59,7 +59,7 @@
tags: tags:
- collectd - collectd
notify: notify:
- restart collectd - Restart collectd
when: inventory_hostname.startswith('log') when: inventory_hostname.startswith('log')
# apache - localhost only - pretty much any apache server # apache - localhost only - pretty much any apache server
@ -68,7 +68,7 @@
tags: tags:
- collectd - collectd
notify: notify:
- restart collectd - Restart collectd
when: collectd_apache and ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat' when: collectd_apache and ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat'
- name: Install collectd-apache (dnf) - name: Install collectd-apache (dnf)
@ -76,7 +76,7 @@
tags: tags:
- collectd - collectd
notify: notify:
- restart collectd - Restart collectd
when: collectd_apache and ansible_distribution_major_version|int > 7 and ansible_distribution == 'RedHat' when: collectd_apache and ansible_distribution_major_version|int > 7 and ansible_distribution == 'RedHat'
- name: Install collectd-apache (dnf) - name: Install collectd-apache (dnf)
@ -84,7 +84,7 @@
tags: tags:
- collectd - collectd
notify: notify:
- restart collectd - Restart collectd
when: collectd_apache and ansible_distribution_major_version|int >= 29 and ansible_distribution == 'Fedora' when: collectd_apache and ansible_distribution_major_version|int >= 29 and ansible_distribution == 'Fedora'
- name: /etc/collectd/apache.conf - name: /etc/collectd/apache.conf
@ -92,7 +92,7 @@
tags: tags:
- collectd - collectd
notify: notify:
- restart collectd - Restart collectd
when: collectd_apache when: collectd_apache
- name: Install libsemanage-python so we can set an sebool below - name: Install libsemanage-python so we can set an sebool below
@ -107,7 +107,7 @@
- collectd - collectd
ignore_errors: true ignore_errors: true
notify: notify:
- restart collectd - Restart collectd
when: ( collectd_apache is defined ) and ansible_selinux.status != "disabled" when: ( collectd_apache is defined ) and ansible_selinux.status != "disabled"
- name: Enable collectd nfs module - name: Enable collectd nfs module
@ -115,7 +115,7 @@
tags: tags:
- collectd - collectd
notify: notify:
- restart collectd - Restart collectd
# Three tasks for handling our (two) custom selinux modules. # Three tasks for handling our (two) custom selinux modules.
- name: Ensure a directory exists for our custom selinux module - name: Ensure a directory exists for our custom selinux module

View file

@ -12,4 +12,4 @@
dest=/etc/collectd.d/bind.conf dest=/etc/collectd.d/bind.conf
tags: tags:
- collectd - collectd
notify: restart collectd notify: Restart collectd

View file

@ -12,7 +12,7 @@
mode=0755 mode=0755
tags: tags:
- collectd - collectd
notify: restart collectd notify: Restart collectd
- name: Copy in /etc/collectd.d/fcomm-queue.conf - name: Copy in /etc/collectd.d/fcomm-queue.conf
ansible.builtin.copy: > ansible.builtin.copy: >
@ -20,7 +20,7 @@
dest=/etc/collectd.d/fcomm-queue-conf dest=/etc/collectd.d/fcomm-queue-conf
tags: tags:
- collectd - collectd
notify: restart collectd notify: Restart collectd
# Three tasks for handling our custom selinux module. # Three tasks for handling our custom selinux module.
- name: Ensure a directory exists for our custom selinux module - name: Ensure a directory exists for our custom selinux module

View file

@ -3,13 +3,13 @@
ansible.builtin.copy: src=fedmsg-map.py dest=/usr/local/bin/fedmsg-map mode=0755 ansible.builtin.copy: src=fedmsg-map.py dest=/usr/local/bin/fedmsg-map mode=0755
tags: tags:
- collectd - collectd
notify: restart collectd notify: Restart collectd
- name: Copy in /etc/collectd.d/fedmsg-activation/conf - name: Copy in /etc/collectd.d/fedmsg-activation/conf
ansible.builtin.copy: src=fedmsg-activation.conf dest=/etc/collectd.d/fedmsg-activation.conf ansible.builtin.copy: src=fedmsg-activation.conf dest=/etc/collectd.d/fedmsg-activation.conf
tags: tags:
- collectd - collectd
notify: restart collectd notify: Restart collectd
- seboolean: name=collectd_tcp_network_connect persistent=yes state=yes - seboolean: name=collectd_tcp_network_connect persistent=yes state=yes
tags: tags:

View file

@ -8,7 +8,7 @@
tags: tags:
- collectd - collectd
- collectd/fedmsg - collectd/fedmsg
notify: restart collectd notify: Restart collectd
- name: Copy in /etc/collectd.d/fedmsg-service.conf - name: Copy in /etc/collectd.d/fedmsg-service.conf
ansible.builtin.template: > ansible.builtin.template: >
@ -17,4 +17,4 @@
tags: tags:
- collectd - collectd
- collectd/fedmsg - collectd/fedmsg
notify: restart collectd notify: Restart collectd

View file

@ -6,7 +6,7 @@
- collectd/memcached - collectd/memcached
- collectd - collectd
- memcached - memcached
notify: restart collectd notify: Restart collectd
- name: Lastly, set some selinux booleans - name: Lastly, set some selinux booleans
seboolean: name=collectd_tcp_network_connect persistent=yes state=yes seboolean: name=collectd_tcp_network_connect persistent=yes state=yes

View file

@ -7,7 +7,7 @@
mode=0755 mode=0755
tags: tags:
- collectd - collectd
notify: restart collectd notify: Restart collectd
- name: Copy in /etc/collectd.d/postgres.conf - name: Copy in /etc/collectd.d/postgres.conf
ansible.builtin.template: > ansible.builtin.template: >
@ -15,4 +15,4 @@
dest=/etc/collectd.d/postgres.conf dest=/etc/collectd.d/postgres.conf
tags: tags:
- collectd - collectd
notify: restart collectd notify: Restart collectd

View file

@ -25,7 +25,7 @@
tags: tags:
- collectd - collectd
- config - config
notify: restart collectd notify: Restart collectd
- name: Let collectd talk to the RabbitMQ management interface - name: Let collectd talk to the RabbitMQ management interface
seboolean: name=collectd_tcp_network_connect state=yes persistent=yes seboolean: name=collectd_tcp_network_connect state=yes persistent=yes

View file

@ -9,7 +9,7 @@
- collectd-web - collectd-web
- collectd-rabbitmq-data - collectd-rabbitmq-data
notify: notify:
- restart collectd - Restart collectd
tags: tags:
- config - config
- collectd/server - collectd/server
@ -23,7 +23,7 @@
- collectd-rabbitmq-data - collectd-rabbitmq-data
- collectd-ipa-data - collectd-ipa-data
notify: notify:
- restart collectd - Restart collectd
tags: tags:
- config - config
- collectd/server - collectd/server
@ -37,7 +37,7 @@
loop: loop:
- fmn-types.db - fmn-types.db
notify: notify:
- restart collectd - Restart collectd
tags: tags:
- config - config
- collectd/server - collectd/server
@ -52,7 +52,7 @@
- fmn.conf - fmn.conf
- unixsock.conf - unixsock.conf
notify: notify:
- restart collectd - Restart collectd
tags: tags:
- config - config
- collectd/server - collectd/server
@ -100,7 +100,7 @@
src: service.timeout.conf src: service.timeout.conf
dest: /etc/systemd/system/collectd.service.d/timeout.conf dest: /etc/systemd/system/collectd.service.d/timeout.conf
notify: notify:
- reload systemd - Reload systemd
tags: tags:
- config - config
- collectd/server - collectd/server

View file

@ -7,7 +7,7 @@
mode=0755 mode=0755
tags: tags:
- collectd - collectd
notify: restart collectd notify: Restart collectd
- name: Copy in /etc/collectd.d/web-service.conf - name: Copy in /etc/collectd.d/web-service.conf
ansible.builtin.template: > ansible.builtin.template: >
@ -15,7 +15,7 @@
dest=/etc/collectd.d/{{ site }}.conf dest=/etc/collectd.d/{{ site }}.conf
tags: tags:
- collectd - collectd
notify: restart collectd notify: Restart collectd
- name: Let collectd talk to apache over tcp - name: Let collectd talk to apache over tcp
seboolean: name=collectd_tcp_network_connect state=yes persistent=yes seboolean: name=collectd_tcp_network_connect state=yes persistent=yes

View file

@ -1,16 +1,16 @@
--- ---
- name: chmod_key - name: Chmod_key
ansible.builtin.file: path=/etc/lighttpd/copr-be.fedoraproject.org.pem owner=root group=root mode=0600 ansible.builtin.file: path=/etc/lighttpd/copr-be.fedoraproject.org.pem owner=root group=root mode=0600
- name: restart copr-backend - name: Restart copr-backend
service: name="{{ copr_backend_target }}" state=restarted service: name="{{ copr_backend_target }}" state=restarted
when: not services_disabled when: not services_disabled
- name: systemctl daemon-reload - name: Systemctl daemon-reload
ansible.builtin.command: /usr/bin/systemctl daemon-reload ansible.builtin.command: /usr/bin/systemctl daemon-reload
- name: restart lighttpd - name: Restart lighttpd
action: service name=lighttpd state=restarted action: service name=lighttpd state=restarted
- name: restart node_exporter - name: Restart node_exporter
action: service name=node_exporter state=restarted action: service name=node_exporter state=restarted

View file

@ -96,7 +96,7 @@
- name: Install lighttpd.conf - name: Install lighttpd.conf
ansible.builtin.template: src="lighttpd/lighttpd.conf" dest=/etc/lighttpd/lighttpd.conf owner=root group=root mode=0644 ansible.builtin.template: src="lighttpd/lighttpd.conf" dest=/etc/lighttpd/lighttpd.conf owner=root group=root mode=0644
notify: notify:
- restart lighttpd - Restart lighttpd
tags: tags:
- config - config
- lighttpd_config - lighttpd_config
@ -110,7 +110,7 @@
- content-encoding-gzip-if-exists.lua - content-encoding-gzip-if-exists.lua
- pulp-redirect.lua - pulp-redirect.lua
notify: notify:
- restart lighttpd - Restart lighttpd
tags: tags:
- config - config
@ -133,7 +133,7 @@
- dirlisting.conf - dirlisting.conf
- mime.conf - mime.conf
notify: notify:
- restart lighttpd - Restart lighttpd
tags: tags:
- config - config
@ -247,7 +247,7 @@
- name: Copy copr-be.conf - name: Copy copr-be.conf
ansible.builtin.template: src="copr-be.conf.j2" dest=/etc/copr/copr-be.conf owner=root group=copr mode=640 ansible.builtin.template: src="copr-be.conf.j2" dest=/etc/copr/copr-be.conf owner=root group=copr mode=640
notify: notify:
- restart copr-backend - Restart copr-backend
tags: tags:
- config - config
- copr_infrastructure_password - copr_infrastructure_password
@ -265,7 +265,7 @@
owner=copr group=copr mode=0600 owner=copr group=copr mode=0600
when: copr_messaging when: copr_messaging
notify: notify:
- restart copr-backend - Restart copr-backend
tags: tags:
- config - config
@ -406,6 +406,6 @@
regexp: '^ARGS=' regexp: '^ARGS='
line: 'ARGS=--collector.systemd' line: 'ARGS=--collector.systemd'
backrefs: yes backrefs: yes
notify: restart node_exporter notify: Restart node_exporter
tags: tags:
- prometheus_node_exporter - prometheus_node_exporter

View file

@ -67,7 +67,7 @@
[Install] [Install]
WantedBy=timers.target WantedBy=timers.target
notify: systemctl daemon-reload notify: Systemctl daemon-reload
- name: Prepare mount point - name: Prepare mount point
ansible.builtin.file: state=directory path=/var/lib/copr/public_html ansible.builtin.file: state=directory path=/var/lib/copr/public_html

View file

@ -10,7 +10,7 @@
value: ifcfg-rh value: ifcfg-rh
backup: yes backup: yes
notify: notify:
- restart NetworkManager - Restart NetworkManager
- name: Set up gateway - name: Set up gateway
lineinfile: dest=/etc/sysconfig/network line="GATEWAYDEV=eth0" lineinfile: dest=/etc/sysconfig/network line="GATEWAYDEV=eth0"

View file

@ -1,5 +1,5 @@
--- ---
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"
- name: restart postgresql - name: Restart postgresql
service: name=postgresql state=restarted service: name=postgresql state=restarted

View file

@ -40,7 +40,7 @@
- name: Configure crond - name: Configure crond
ansible.builtin.copy: src=sysconfig.crond dest=/etc/sysconfig/crond ansible.builtin.copy: src=sysconfig.crond dest=/etc/sysconfig/crond
notify: restart crond notify: Restart crond
- name: Install base copr packages - name: Install base copr packages
ansible.builtin.package: ansible.builtin.package:
@ -66,7 +66,7 @@
state=present state=present
line='MAILTO=copr-team@redhat.com' line='MAILTO=copr-team@redhat.com'
regexp="^MAILTO" regexp="^MAILTO"
notify: restart crond notify: Restart crond
- name: Override the default rsyslog logrotate file - name: Override the default rsyslog logrotate file
ansible.builtin.copy: src=syslog-logrotate dest=/etc/logrotate.d/rsyslog ansible.builtin.copy: src=syslog-logrotate dest=/etc/logrotate.d/rsyslog

View file

@ -2,4 +2,4 @@
case $1 in --init) exit 0 ;; esac case $1 in --init) exit 0 ;; esac
systemctl restart httpd systemctl Restart httpd

View file

@ -23,4 +23,4 @@ for domain in $RENEWED_DOMAINS; do
pem_fixup "$domain" pem_fixup "$domain"
done done
systemctl restart lighttpd systemctl Restart lighttpd

View file

@ -1,6 +1,6 @@
--- ---
- name: reload httpd - name: Reload httpd
service: name="httpd" state="restarted" service: name="httpd" state="restarted"
- name: restart copr-dist-git - name: Restart copr-dist-git
service: name="copr-dist-git" state="restarted" service: name="copr-dist-git" state="restarted"

View file

@ -46,7 +46,7 @@
- config - config
- copr_infrastructure_password - copr_infrastructure_password
notify: notify:
- restart copr-dist-git - Restart copr-dist-git
- name: Set git variables for copr-dist-git user - name: Set git variables for copr-dist-git user
ansible.builtin.copy: src=".gitconfig" dest="/home/copr-dist-git/.gitconfig" ansible.builtin.copy: src=".gitconfig" dest="/home/copr-dist-git/.gitconfig"
@ -61,7 +61,7 @@
tags: tags:
- config - config
notify: notify:
- reload httpd - Reload httpd
- name: Letsencrypt for copr-dist-git - name: Letsencrypt for copr-dist-git
include_role: name=copr/certbot include_role: name=copr/certbot
@ -76,12 +76,12 @@
tags: tags:
- config - config
notify: notify:
- reload httpd - Reload httpd
- name: Install /etc/httpd/conf.d/ssl.conf - name: Install /etc/httpd/conf.d/ssl.conf
ansible.builtin.template: src="ssl.conf.j2" dest="/etc/httpd/conf.d/ssl.conf" owner=root group=root mode=0644 ansible.builtin.template: src="ssl.conf.j2" dest="/etc/httpd/conf.d/ssl.conf" owner=root group=root mode=0644
notify: notify:
- reload httpd - Reload httpd
- name: Temporary logrotation fix until copr-dist-git 0.26 is released & deployed - name: Temporary logrotation fix until copr-dist-git 0.26 is released & deployed
ansible.builtin.copy: src="logrotate.d/copr-dist-git" dest="/etc/logrotate.d/copr-dist-git" ansible.builtin.copy: src="logrotate.d/copr-dist-git" dest="/etc/logrotate.d/copr-dist-git"

View file

@ -1,14 +1,14 @@
--- ---
- import_tasks: "{{ handlers_path }}/restart_services.yml" - import_tasks: "{{ handlers_path }}/restart_services.yml"
- name: restart postgresql - name: Restart postgresql
service: name=postgresql service: name=postgresql
state=restarted state=restarted
- name: restart copr-fe-fedora-messaging-reader - name: Restart copr-fe-fedora-messaging-reader
service: name="fm-consumer@copr_messaging" service: name="fm-consumer@copr_messaging"
state=restarted state=restarted
when: not services_disabled|bool when: not services_disabled|bool
- name: restart node_exporter - name: Restart node_exporter
action: service name=node_exporter state=restarted action: service name=node_exporter state=restarted

View file

@ -5,7 +5,7 @@
with_items: with_items:
- "coprs.conf" - "coprs.conf"
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- config - config
- certbot - certbot
@ -13,7 +13,7 @@
- name: Drop old and now unused coprs_ssl.conf - name: Drop old and now unused coprs_ssl.conf
ansible.builtin.file: path=/etc/httpd/conf.d/coprs_ssl.conf state=absent ansible.builtin.file: path=/etc/httpd/conf.d/coprs_ssl.conf state=absent
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- config - config

View file

@ -86,8 +86,8 @@
- name: Install copr configs - name: Install copr configs
ansible.builtin.template: src="copr.conf" dest=/etc/copr/copr.conf mode=600 ansible.builtin.template: src="copr.conf" dest=/etc/copr/copr.conf mode=600
notify: notify:
- reload httpd - Reload httpd
- restart copr-fe-fedora-messaging-reader - Restart copr-fe-fedora-messaging-reader
tags: tags:
- config - config
- copr_infrastructure_password - copr_infrastructure_password
@ -181,7 +181,7 @@
- name: Install fedora messaging config for Copr - name: Install fedora messaging config for Copr
ansible.builtin.template: src="fedora-messaging/copr_messaging.toml" dest="/etc/fedora-messaging/copr_messaging.toml" ansible.builtin.template: src="fedora-messaging/copr_messaging.toml" dest="/etc/fedora-messaging/copr_messaging.toml"
notify: notify:
- restart copr-fe-fedora-messaging-reader - Restart copr-fe-fedora-messaging-reader
tags: tags:
- config - config
@ -191,7 +191,7 @@
- name: Install custom systemd service files - name: Install custom systemd service files
ansible.builtin.copy: src=systemd dest=/etc ansible.builtin.copy: src=systemd dest=/etc
notify: notify:
- reload httpd - Reload httpd
- name: Compress rotated httpd logs - name: Compress rotated httpd logs
ansible.builtin.copy: src="httpd.logrotate" dest="/etc/logrotate.d/httpd" ansible.builtin.copy: src="httpd.logrotate" dest="/etc/logrotate.d/httpd"
@ -219,7 +219,7 @@
regexp: '^ARGS=' regexp: '^ARGS='
line: 'ARGS=--collector.textfile.directory="/var/lib/prometheus/node-exporter" --collector.systemd' line: 'ARGS=--collector.textfile.directory="/var/lib/prometheus/node-exporter" --collector.systemd'
backrefs: yes backrefs: yes
notify: restart node_exporter notify: Restart node_exporter
- name: Install nrpe - name: Install nrpe
dnf: name=nrpe state=present dnf: name=nrpe state=present
@ -237,4 +237,4 @@
- name: Install gai.conf - name: Install gai.conf
ansible.builtin.copy: src=gai.conf dest=/etc ansible.builtin.copy: src=gai.conf dest=/etc
notify: notify:
- reload httpd - Reload httpd

View file

@ -17,7 +17,7 @@
- name: Copy pg_hba.conf - name: Copy pg_hba.conf
ansible.builtin.copy: src="pg/pg_hba.conf" dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres group=postgres mode=0600 ansible.builtin.copy: src="pg/pg_hba.conf" dest=/var/lib/pgsql/data/pg_hba.conf owner=postgres group=postgres mode=0600
notify: notify:
- restart postgresql - Restart postgresql
tags: tags:
- config - config
@ -61,7 +61,7 @@
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^shared_buffers =' regexp: '^shared_buffers ='
line: 'shared_buffers = 8096MB' line: 'shared_buffers = 8096MB'
notify: restart postgresql notify: Restart postgresql
tags: tags:
- config - config
@ -70,7 +70,7 @@
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^effective_cache_size =' regexp: '^effective_cache_size ='
line: 'effective_cache_size = 2048MB' line: 'effective_cache_size = 2048MB'
notify: restart postgresql notify: Restart postgresql
tags: tags:
- config - config
@ -79,7 +79,7 @@
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^work_mem =' regexp: '^work_mem ='
line: 'work_mem = 4MB' line: 'work_mem = 4MB'
notify: restart postgresql notify: Restart postgresql
tags: tags:
- config - config
@ -88,7 +88,7 @@
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^maintenance_work_mem =' regexp: '^maintenance_work_mem ='
line: 'maintenance_work_mem = 500MB' line: 'maintenance_work_mem = 500MB'
notify: restart postgresql notify: Restart postgresql
tags: tags:
- config - config
@ -97,7 +97,7 @@
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^checkpoint_completion_target =' regexp: '^checkpoint_completion_target ='
line: 'checkpoint_completion_target = 0.9' line: 'checkpoint_completion_target = 0.9'
notify: restart postgresql notify: Restart postgresql
tags: tags:
- config - config
@ -106,7 +106,7 @@
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^log_min_duration_statement =' regexp: '^log_min_duration_statement ='
line: 'log_min_duration_statement = 500' line: 'log_min_duration_statement = 500'
notify: restart postgresql notify: Restart postgresql
tags: tags:
- config - config
@ -115,7 +115,7 @@
path: /var/lib/pgsql/data/postgresql.conf path: /var/lib/pgsql/data/postgresql.conf
regexp: '^max_connections =' regexp: '^max_connections ='
line: 'max_connections = 200' line: 'max_connections = 200'
notify: restart postgresql notify: Restart postgresql
tags: tags:
- config - config

View file

@ -48,7 +48,7 @@
- name: Install libvirtd.conf - name: Install libvirtd.conf
ansible.builtin.copy: src="{{ files }}/virthost/libvirtd.conf" dest=/etc/libvirt/libvirtd.conf ansible.builtin.copy: src="{{ files }}/virthost/libvirtd.conf" dest=/etc/libvirt/libvirtd.conf
notify: notify:
- restart libvirtd - Restart libvirtd
tags: tags:
- libvirtd - libvirtd
- config - config
@ -99,7 +99,7 @@
virsh net-start host-bridge virsh net-start host-bridge
virsh net-autostart host-bridge virsh net-autostart host-bridge
when: libvirt_bridge_exists.changed when: libvirt_bridge_exists.changed
notify: restart libvirtd notify: Restart libvirtd
tags: libvirtd tags: libvirtd
- name: Check if image pool exists - name: Check if image pool exists
@ -121,7 +121,7 @@
virsh pool-start "{{ image_pool_name }}" virsh pool-start "{{ image_pool_name }}"
virsh pool-autostart "{{ image_pool_name }}" virsh pool-autostart "{{ image_pool_name }}"
when: libvirt_pool_exists.changed when: libvirt_pool_exists.changed
notify: restart libvirtd notify: Restart libvirtd
tags: libvirtd tags: libvirtd
- name: Allow copr user controlling libvirt - name: Allow copr user controlling libvirt
@ -132,8 +132,8 @@
value: libvirt value: libvirt
backup: yes backup: yes
notify: notify:
- reload systemd - Reload systemd
- restart libvirtd.socket - Restart libvirtd.socket
tags: libvirtd tags: libvirtd
- name: Create the copr user - name: Create the copr user

View file

@ -9,7 +9,7 @@
- name: Install copr-keygen - name: Install copr-keygen
dnf: state=present name=copr-keygen dnf: state=present name=copr-keygen
notify: notify:
- restart haveged - Restart haveged
- name: Change owner of data to copr-signer - name: Change owner of data to copr-signer
ansible.builtin.file: path=/var/lib/copr-keygen owner=copr-signer group=copr-signer recurse=yes ansible.builtin.file: path=/var/lib/copr-keygen owner=copr-signer group=copr-signer recurse=yes
@ -17,14 +17,14 @@
- name: Put keygen vhost for httpd - name: Put keygen vhost for httpd
ansible.builtin.copy: src="httpd/copr-keygen.conf" dest="/etc/httpd/conf.d/copr-keygen.conf" ansible.builtin.copy: src="httpd/copr-keygen.conf" dest="/etc/httpd/conf.d/copr-keygen.conf"
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- config - config
- name: Put config for signd - name: Put config for signd
ansible.builtin.template: src="sign.conf" dest="/etc/sign.conf" ansible.builtin.template: src="sign.conf" dest="/etc/sign.conf"
notify: notify:
- restart obs-signd - Restart obs-signd
tags: tags:
- config - config

View file

@ -11,6 +11,6 @@
with_items: with_items:
- developer.conf - developer.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- developer - developer

View file

@ -9,7 +9,7 @@
- name: Setup dhcpd.conf - name: Setup dhcpd.conf
ansible.builtin.copy: src=dhcpd.conf.{{ inventory_hostname }} dest=/etc/dhcp/dhcpd.conf mode=644 ansible.builtin.copy: src=dhcpd.conf.{{ inventory_hostname }} dest=/etc/dhcp/dhcpd.conf mode=644
notify: notify:
- restart dhcpd - Restart dhcpd
tags: tags:
- sshd_config - sshd_config
- config - config

View file

@ -1,3 +1,3 @@
--- ---
- name: restart pagure_milter - name: Restart pagure_milter
service: name=pagure_milter state=restarted service: name=pagure_milter state=restarted

View file

@ -42,8 +42,8 @@
# dest=/usr/lib/systemd/system/stunnel.service # dest=/usr/lib/systemd/system/stunnel.service
# owner=root group=root mode=0755 # owner=root group=root mode=0755
# notify: # notify:
# - reload systemd # - Reload systemd
# - restart stunnel # - Restart stunnel
# tags: # tags:
# - pagure # - pagure
# - stunnel # - stunnel
@ -61,7 +61,7 @@
# owner=root group=root mode=0600 # owner=root group=root mode=0600
# with_items: # with_items:
# - { file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf } # - { file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf }
# notify: restart stunnel # notify: Restart stunnel
# tags: # tags:
# - pagure # - pagure
# - stunnel # - stunnel
@ -137,7 +137,7 @@
- web - web
- pagure - pagure
notify: notify:
- restart apache - Restart apache
- name: Pagure configuration for the hooks - name: Pagure configuration for the hooks
ansible.builtin.template: src={{ item.file }} ansible.builtin.template: src={{ item.file }}
@ -151,7 +151,7 @@
- web - web
- pagure - pagure
notify: notify:
- restart apache - Restart apache
- name: Create the database scheme - name: Create the database scheme
ansible.builtin.command: /usr/bin/python3 /usr/share/pagure/pagure_createdb.py ansible.builtin.command: /usr/bin/python3 /usr/share/pagure/pagure_createdb.py
@ -204,7 +204,7 @@
- config - config
- pagure - pagure
notify: notify:
- restart apache - Restart apache
- name: Install the wsgi file - name: Install the wsgi file
ansible.builtin.template: src={{ item }} ansible.builtin.template: src={{ item }}
@ -217,7 +217,7 @@
- web - web
- pagure - pagure
notify: notify:
- restart apache - Restart apache
- name: Add default facl so apache can read git repos - name: Add default facl so apache can read git repos
acl: default=yes etype=user entity=apache permissions="rx" name=/srv/git state=present acl: default=yes etype=user entity=apache permissions="rx" name=/srv/git state=present
@ -247,7 +247,7 @@
- pagure_webhook - pagure_webhook
- pagure_worker - pagure_worker
notify: notify:
- reload systemd - Reload systemd
tags: tags:
- pagure - pagure
@ -268,7 +268,7 @@
- config - config
- pagure - pagure
notify: notify:
- restart apache - Restart apache
- name: Create the /srv/cache/extras folder for the crons - name: Create the /srv/cache/extras folder for the crons
ansible.builtin.file: state=directory ansible.builtin.file: state=directory

View file

@ -30,14 +30,14 @@
- name: Install the mod_auth_openidc configuration - name: Install the mod_auth_openidc configuration
ansible.builtin.template: src=auth_openidc.conf dest=/etc/httpd/conf.d/auth_openidc.conf ansible.builtin.template: src=auth_openidc.conf dest=/etc/httpd/conf.d/auth_openidc.conf
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- distgit - distgit
- name: Install the http push configuration - name: Install the http push configuration
ansible.builtin.template: src=httppush.conf dest=/etc/httpd/conf.d/httpush.conf ansible.builtin.template: src=httppush.conf dest=/etc/httpd/conf.d/httpush.conf
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- distgit - distgit
@ -67,7 +67,7 @@
- name: Install the mod_ssl configuration - name: Install the mod_ssl configuration
ansible.builtin.copy: src=ssl.conf dest=/etc/httpd/conf.d/ssl.conf ansible.builtin.copy: src=ssl.conf dest=/etc/httpd/conf.d/ssl.conf
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- distgit - distgit
@ -87,7 +87,7 @@
group=apache group=apache
mode=0600 mode=0600
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- distgit - distgit
@ -198,14 +198,14 @@
- name: Install the DistGit related httpd config - name: Install the DistGit related httpd config
ansible.builtin.copy: src=git-smart-http.conf dest=/etc/httpd/conf.d/dist-git/git-smart-http.conf ansible.builtin.copy: src=git-smart-http.conf dest=/etc/httpd/conf.d/dist-git/git-smart-http.conf
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- distgit - distgit
- name: Symlink pkgs-git-repos-list - name: Symlink pkgs-git-repos-list
ansible.builtin.copy: src=repolist.conf dest=/etc/httpd/conf.d/dist-git/repolist.conf ansible.builtin.copy: src=repolist.conf dest=/etc/httpd/conf.d/dist-git/repolist.conf
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- distgit - distgit
@ -241,7 +241,7 @@
- lookaside.conf - lookaside.conf
- lookaside-upload.conf - lookaside-upload.conf
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- distgit - distgit
- sslciphers - sslciphers

View file

@ -12,7 +12,7 @@
- name: Copy rndc config - name: Copy rndc config
ansible.builtin.copy: src=rndc.conf dest=/etc/rndc.conf ansible.builtin.copy: src=rndc.conf dest=/etc/rndc.conf
notify: notify:
- restart named - Restart named
tags: tags:
- config - config
- dns - dns
@ -20,7 +20,7 @@
- name: Copy rndc key - name: Copy rndc key
ansible.builtin.copy: src={{ private }}/files/dns/rndc.key dest=/etc/rndc.key ansible.builtin.copy: src={{ private }}/files/dns/rndc.key dest=/etc/rndc.key
notify: notify:
- restart named - Restart named
tags: tags:
- config - config
- dns - dns
@ -28,7 +28,7 @@
- name: Copy named cache - name: Copy named cache
ansible.builtin.copy: src=named.ca dest=/var/named/named.ca ansible.builtin.copy: src=named.ca dest=/var/named/named.ca
notify: notify:
- restart named - Restart named
tags: tags:
- config - config
- dns - dns
@ -36,7 +36,7 @@
- name: Copy geoip.py - name: Copy geoip.py
ansible.builtin.copy: src=geoip.py dest=/usr/local/bin/geoip.py mode=0755 ansible.builtin.copy: src=geoip.py dest=/usr/local/bin/geoip.py mode=0755
notify: notify:
- restart named - Restart named
tags: tags:
- config - config
- dns - dns
@ -44,7 +44,7 @@
- name: Copy GeoIP.sh - name: Copy GeoIP.sh
ansible.builtin.copy: src=GeoIP.sh dest=/var/named/GeoIP.sh mode=0755 ansible.builtin.copy: src=GeoIP.sh dest=/var/named/GeoIP.sh mode=0755
notify: notify:
- restart named - Restart named
tags: tags:
- config - config
- dns - dns
@ -53,14 +53,14 @@
# ansible.builtin.command: /var/named/GeoIP.sh # ansible.builtin.command: /var/named/GeoIP.sh
# changed_when: "1 != 1" # changed_when: "1 != 1"
# notify: # notify:
# - restart named # - Restart named
# tags: # tags:
# - dns # - dns
- name: Copy update-dns - name: Copy update-dns
ansible.builtin.copy: src=update-dns dest=/usr/local/bin/update-dns mode=0755 ansible.builtin.copy: src=update-dns dest=/usr/local/bin/update-dns mode=0755
notify: notify:
- restart named - Restart named
tags: tags:
- config - config
- dns - dns
@ -68,7 +68,7 @@
- name: Copy zones - name: Copy zones
ansible.builtin.copy: src=zones.conf dest=/etc/named/zones.conf owner=root group=root mode=0644 ansible.builtin.copy: src=zones.conf dest=/etc/named/zones.conf owner=root group=root mode=0644
notify: notify:
- restart named - Restart named
tags: tags:
- config - config
- dns - dns
@ -76,7 +76,7 @@
- name: Copy named config - name: Copy named config
ansible.builtin.copy: src=named.conf dest=/etc/named.conf mode=0644 owner=root group=root ansible.builtin.copy: src=named.conf dest=/etc/named.conf mode=0644 owner=root group=root
notify: notify:
- restart named - Restart named
tags: tags:
- config - config
- dns - dns
@ -85,7 +85,7 @@
ansible.builtin.command: /usr/local/bin/update-dns ansible.builtin.command: /usr/local/bin/update-dns
changed_when: "1 != 1" changed_when: "1 != 1"
notify: notify:
- restart named - Restart named
tags: tags:
- config - config
- dns - dns
@ -114,7 +114,7 @@
ansible.builtin.command: semanage port -a -t dns_port_t -p tcp 8053 ansible.builtin.command: semanage port -a -t dns_port_t -p tcp 8053
when: semanageoutput.stdout.find("8053") == -1 when: semanageoutput.stdout.find("8053") == -1
notify: notify:
- restart named - Restart named
tags: tags:
- dns - dns

View file

@ -15,7 +15,7 @@
ansible.builtin.template: ansible.builtin.template:
src: config.yml.j2 src: config.yml.j2
dest: "{{ conf_path }}" dest: "{{ conf_path }}"
notify: restart docker-distribution notify: Restart docker-distribution
tags: tags:
- docker-distribution - docker-distribution

View file

@ -71,7 +71,7 @@
- config - config
- sslciphers - sslciphers
notify: notify:
- reload httpd - Reload httpd
- name: Make sure apache autoindex.conf is replaced with ours - name: Make sure apache autoindex.conf is replaced with ours
ansible.builtin.copy: src=httpd/dl.fedoraproject.org/autoindex.conf dest=/etc/httpd/conf.d/autoindex.conf ansible.builtin.copy: src=httpd/dl.fedoraproject.org/autoindex.conf dest=/etc/httpd/conf.d/autoindex.conf
@ -79,7 +79,7 @@
- httpd - httpd
- config - config
notify: notify:
- reload httpd - Reload httpd
- name: Configure httpd dl sub conf - name: Configure httpd dl sub conf
ansible.builtin.copy: src=httpd/dl.fedoraproject.org/ dest=/etc/httpd/conf.d/dl.fedoraproject.org/ ansible.builtin.copy: src=httpd/dl.fedoraproject.org/ dest=/etc/httpd/conf.d/dl.fedoraproject.org/
@ -87,7 +87,7 @@
- httpd - httpd
- config - config
notify: notify:
- reload httpd - Reload httpd
- name: Install haveged for entropy - name: Install haveged for entropy
ansible.builtin.package: name=haveged state=present ansible.builtin.package: name=haveged state=present

View file

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

View file

@ -93,11 +93,11 @@
- fedmsgdconfig - fedmsgdconfig
- fedmsg/base - fedmsg/base
notify: notify:
- reload httpd - Reload httpd
- restart fedmsg-gateway - Restart fedmsg-gateway
- restart fedmsg-hub - Restart fedmsg-hub
- restart fedmsg-irc - Restart fedmsg-irc
- restart fedmsg-relay - Restart fedmsg-relay
- name: Dynamically generate policy from group/host vars. - name: Dynamically generate policy from group/host vars.
ansible.builtin.template: > ansible.builtin.template: >
@ -115,11 +115,11 @@
- fedmsgdpolicy - fedmsgdpolicy
- fedmsg/base - fedmsg/base
notify: notify:
- reload httpd - Reload httpd
- restart fedmsg-gateway - Restart fedmsg-gateway
- restart fedmsg-hub - Restart fedmsg-hub
- restart fedmsg-irc - Restart fedmsg-irc
- restart fedmsg-relay - Restart fedmsg-relay
- name: Setup basic /etc/fedmsg.d/ contents for firewalled/external hosts - name: Setup basic /etc/fedmsg.d/ contents for firewalled/external hosts
ansible.builtin.template: > ansible.builtin.template: >
@ -139,11 +139,11 @@
- fedmsgdconfig - fedmsgdconfig
- fedmsg/base - fedmsg/base
notify: notify:
- reload httpd - Reload httpd
- restart fedmsg-gateway - Restart fedmsg-gateway
- restart fedmsg-hub - Restart fedmsg-hub
- restart fedmsg-irc - Restart fedmsg-irc
- restart fedmsg-relay - Restart fedmsg-relay
- name: Install fedmsg-relay in case we're in debug mode. - name: Install fedmsg-relay in case we're in debug mode.
ansible.builtin.package: name=fedmsg-relay state=present ansible.builtin.package: name=fedmsg-relay state=present
@ -152,11 +152,11 @@
- fedmsg_loopback - fedmsg_loopback
- fedmsg/base - fedmsg/base
notify: notify:
- reload httpd - Reload httpd
- restart fedmsg-gateway - Restart fedmsg-gateway
- restart fedmsg-hub - Restart fedmsg-hub
- restart fedmsg-irc - Restart fedmsg-irc
- restart fedmsg-relay - Restart fedmsg-relay
- name: Install fedmsg-relay in case we're in debug mode. - name: Install fedmsg-relay in case we're in debug mode.
dnf: name=fedmsg-relay state=present dnf: name=fedmsg-relay state=present
@ -165,11 +165,11 @@
- fedmsg_loopback - fedmsg_loopback
- fedmsg/base - fedmsg/base
notify: notify:
- reload httpd - Reload httpd
- restart fedmsg-gateway - Restart fedmsg-gateway
- restart fedmsg-hub - Restart fedmsg-hub
- restart fedmsg-irc - Restart fedmsg-irc
- restart fedmsg-relay - Restart fedmsg-relay
- name: Destroy standard config to make way for debug loopback. - name: Destroy standard config to make way for debug loopback.
ansible.builtin.file: dest=/etc/fedmsg.d/{{item}} state=absent ansible.builtin.file: dest=/etc/fedmsg.d/{{item}} state=absent
@ -181,11 +181,11 @@
- fedmsg_loopback - fedmsg_loopback
- fedmsg/base - fedmsg/base
notify: notify:
- reload httpd - Reload httpd
- restart fedmsg-gateway - Restart fedmsg-gateway
- restart fedmsg-hub - Restart fedmsg-hub
- restart fedmsg-irc - Restart fedmsg-irc
- restart fedmsg-relay - Restart fedmsg-relay
- name: Overwrite standard config with local fedmsg debugging loopback - name: Overwrite standard config with local fedmsg debugging loopback
ansible.builtin.copy: src=relay-debug-loopback.py dest=/etc/fedmsg.d/relay.py ansible.builtin.copy: src=relay-debug-loopback.py dest=/etc/fedmsg.d/relay.py
@ -194,11 +194,11 @@
- fedmsg_loopback - fedmsg_loopback
- fedmsg/base - fedmsg/base
notify: notify:
- reload httpd - Reload httpd
- restart fedmsg-gateway - Restart fedmsg-gateway
- restart fedmsg-hub - Restart fedmsg-hub
- restart fedmsg-irc - Restart fedmsg-irc
- restart fedmsg-relay - Restart fedmsg-relay
- name: Start fedmsg-relay, only for loopback testing - name: Start fedmsg-relay, only for loopback testing
service: name=fedmsg-relay state=started service: name=fedmsg-relay state=started

View file

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

View file

@ -73,8 +73,8 @@
dest=/usr/lib/systemd/system/stunnel.service dest=/usr/lib/systemd/system/stunnel.service
owner=root group=root mode=0644 owner=root group=root mode=0644
notify: notify:
- reload systemd - Reload systemd
- restart stunnel - Restart stunnel
tags: tags:
- fedmsg/gateway - fedmsg/gateway
- fedmsg/gateway/slave - fedmsg/gateway/slave
@ -91,7 +91,7 @@
owner=root group=root mode=0600 owner=root group=root mode=0600
with_items: with_items:
- { file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf } - { file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf }
notify: restart stunnel notify: Restart stunnel
tags: tags:
- fedmsg/gateway - fedmsg/gateway
- fedmsg/gateway/slave - fedmsg/gateway/slave
@ -101,7 +101,7 @@
src={{private}}/files/httpd/wildcard-2024.fedoraproject.org.combined.cert src={{private}}/files/httpd/wildcard-2024.fedoraproject.org.combined.cert
dest=/etc/pki/tls/certs/wildcard-2024.fedoraproject.org.combined.cert dest=/etc/pki/tls/certs/wildcard-2024.fedoraproject.org.combined.cert
owner=root group=root mode=0644 owner=root group=root mode=0644
notify: restart stunnel notify: Restart stunnel
tags: tags:
- fedmsg/gateway - fedmsg/gateway
- fedmsg/gateway/slave - fedmsg/gateway/slave

View file

@ -22,7 +22,7 @@
- config - config
- fedmsg/gateway - fedmsg/gateway
notify: notify:
- restart fedmsg-gateway - Restart fedmsg-gateway
- name: Create systemd drop-in directory - name: Create systemd drop-in directory
ansible.builtin.file: > ansible.builtin.file: >
@ -39,7 +39,7 @@
- config - config
- fedmsg/gateway - fedmsg/gateway
notify: notify:
- restart fedmsg-gateway - Restart fedmsg-gateway
- name: Enable on boot and start fedmsg-gateway - name: Enable on boot and start fedmsg-gateway
service: service:

View file

@ -32,12 +32,12 @@
- name: Enable the websocket server if we should - name: Enable the websocket server if we should
ansible.builtin.copy: src=websockets.py dest=/etc/fedmsg.d/websockets.py ansible.builtin.copy: src=websockets.py dest=/etc/fedmsg.d/websockets.py
when: enable_websocket_server when: enable_websocket_server
notify: restart fedmsg-hub notify: Restart fedmsg-hub
- name: Disable the websocket server if we should.. - name: Disable the websocket server if we should..
ansible.builtin.file: dest=/etc/fedmsg.d/websockets.py state=absent ansible.builtin.file: dest=/etc/fedmsg.d/websockets.py state=absent
when: not enable_websocket_server when: not enable_websocket_server
notify: restart fedmsg-hub notify: Restart fedmsg-hub
- name: Set fedmsg ownership on /var/run/fedmsg - name: Set fedmsg ownership on /var/run/fedmsg
ansible.builtin.file: > ansible.builtin.file: >
@ -68,7 +68,7 @@
- fedmsg-hub - fedmsg-hub
- fedmsg-hub-3 - fedmsg-hub-3
notify: notify:
- reload systemd - Reload systemd
tags: tags:
- fedmsg/hub - fedmsg/hub
@ -80,7 +80,7 @@
- fedmsg-hub - fedmsg-hub
- fedmsg-hub-3 - fedmsg-hub-3
notify: notify:
- reload systemd - Reload systemd
- restart fedmsg-hub - Restart fedmsg-hub
tags: tags:
- fedmsg/hub - fedmsg/hub

View file

@ -27,7 +27,7 @@
- config - config
- fedmsg/irc - fedmsg/irc
notify: notify:
- restart fedmsg-irc - Restart fedmsg-irc
- name: Setup fas credentials config file - name: Setup fas credentials config file
ansible.builtin.template: > ansible.builtin.template: >
@ -40,7 +40,7 @@
- config - config
- fedmsg/irc - fedmsg/irc
notify: notify:
- restart fedmsg-irc - Restart fedmsg-irc
- name: Enable on boot and start fedmsg-irc - name: Enable on boot and start fedmsg-irc
service: name=fedmsg-irc state=started enabled=true service: name=fedmsg-irc state=started enabled=true

View file

@ -33,7 +33,7 @@
- services - services
- fedmsg/relay - fedmsg/relay
notify: notify:
- restart fedmsg-relay - Restart fedmsg-relay
when: env != "staging" when: env != "staging"
- name: Enable on boot and start fedmsg-relay - name: Enable on boot and start fedmsg-relay
@ -42,5 +42,5 @@
- services - services
- fedmsg/relay - fedmsg/relay
notify: notify:
- restart fedmsg-relay - Restart fedmsg-relay
when: env == "staging" when: env == "staging"

View file

@ -21,7 +21,7 @@
- budget.conf - budget.conf
- languages.conf - languages.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/budget - fedora-web/budget

View file

@ -38,7 +38,7 @@
- fedora-docs.conf - fedora-docs.conf
- fedora-docs-old.conf - fedora-docs-old.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-docs - fedora-docs
- fedora-docs/proxy - fedora-docs/proxy
@ -51,7 +51,7 @@
- fedora-docs.conf - fedora-docs.conf
- fedora-docs-old.conf - fedora-docs-old.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-docs - fedora-docs
- fedora-docs/proxy - fedora-docs/proxy

View file

@ -13,7 +13,7 @@
- alt.conf - alt.conf
- languages.conf - languages.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/alt - fedora-web/alt

View file

@ -3,7 +3,7 @@
ansible.builtin.copy: src="{{private}}/files/docker-registry/{{env}}/candidate-htpasswd" dest=/etc/httpd/conf.d/candidate-registry.fedoraproject.org/passwd ansible.builtin.copy: src="{{private}}/files/docker-registry/{{env}}/candidate-htpasswd" dest=/etc/httpd/conf.d/candidate-registry.fedoraproject.org/passwd
owner=root group=root mode=0644 owner=root group=root mode=0644
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/candidate-registry - fedora-web/candidate-registry

View file

@ -12,7 +12,7 @@
with_items: with_items:
- codecs.conf - codecs.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/codecs - fedora-web/codecs

View file

@ -13,7 +13,7 @@
- fedoracommunity.org-web.conf - fedoracommunity.org-web.conf
- languages.conf - languages.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/community - fedora-web/community

View file

@ -18,7 +18,7 @@
with_items: with_items:
- matrix.conf - matrix.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/fedora.im - fedora-web/fedora.im

View file

@ -13,7 +13,7 @@
- flocktofedora.org.conf - flocktofedora.org.conf
- languages.conf - languages.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/flocktofedora - fedora-web/flocktofedora

View file

@ -14,7 +14,7 @@
- languages.conf - languages.conf
- csp.conf - csp.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/getfedora - fedora-web/getfedora

View file

@ -13,7 +13,7 @@
- iot.conf - iot.conf
- languages.conf - languages.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/iot - fedora-web/iot

View file

@ -13,7 +13,7 @@
- labs.conf - labs.conf
- languages.conf - languages.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/labs - fedora-web/labs

View file

@ -60,7 +60,7 @@
- matrix.conf - matrix.conf
- flathub-verified.conf - flathub-verified.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/main - fedora-web/main
@ -74,7 +74,7 @@
with_items: with_items:
- 'sponsor.conf' - 'sponsor.conf'
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/main - fedora-web/main
@ -111,7 +111,7 @@
src=browserid.fedoraproject.org dest=/srv/web/browserid.fedoraproject.org src=browserid.fedoraproject.org dest=/srv/web/browserid.fedoraproject.org
owner=root group=root mode=0644 owner=root group=root mode=0644
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/main - fedora-web/main
@ -123,7 +123,7 @@
owner=root group=root mode=0644 owner=root group=root mode=0644
when: env == "staging" when: env == "staging"
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/main - fedora-web/main
@ -135,7 +135,7 @@
owner=root group=root mode=0644 owner=root group=root mode=0644
when: env != "staging" when: env != "staging"
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/main - fedora-web/main

View file

@ -12,7 +12,7 @@
with_items: with_items:
- mirrors.conf - mirrors.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/mirrors - fedora-web/mirrors

View file

@ -6,7 +6,7 @@
with_items: with_items:
- ols.conf - ols.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/ols - fedora-web/ols

View file

@ -2,7 +2,7 @@
- name: Copy ostree config file - name: Copy ostree config file
ansible.builtin.copy: src=ostree.conf dest=/etc/httpd/conf.d/ostree.fedoraproject.org/ostree.conf ansible.builtin.copy: src=ostree.conf dest=/etc/httpd/conf.d/ostree.fedoraproject.org/ostree.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- ostree - ostree

View file

@ -13,7 +13,7 @@
ansible.builtin.copy: src="{{ private }}/files/fedora-ca.cert" dest=/etc/pki/httpd/fedora-server-ca.cert ansible.builtin.copy: src="{{ private }}/files/fedora-ca.cert" dest=/etc/pki/httpd/fedora-server-ca.cert
owner=root group=root mode=0644 owner=root group=root mode=0644
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/registry - fedora-web/registry
@ -29,7 +29,7 @@
dest="/etc/pki/httpd/registry-ca-{{env}}.cert" dest="/etc/pki/httpd/registry-ca-{{env}}.cert"
owner=root group=root mode=0644 owner=root group=root mode=0644
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/registry - fedora-web/registry
@ -38,7 +38,7 @@
ansible.builtin.copy: src="passwd-{{env}}" dest=/etc/httpd/conf.d/registry.fedoraproject.org/passwd ansible.builtin.copy: src="passwd-{{env}}" dest=/etc/httpd/conf.d/registry.fedoraproject.org/passwd
owner=root group=root mode=0644 owner=root group=root mode=0644
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/registry - fedora-web/registry

View file

@ -4,7 +4,7 @@
ansible.builtin.package: name=mod_auth_gssapi ansible.builtin.package: name=mod_auth_gssapi
state=present state=present
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/src - fedora-web/src
@ -16,7 +16,7 @@
group=apache group=apache
mode=0600 mode=0600
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/src - fedora-web/src
@ -28,7 +28,7 @@
with_items: with_items:
- expires.conf - expires.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/src - fedora-web/src

View file

@ -13,7 +13,7 @@
- start-web.conf - start-web.conf
- languages.conf - languages.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedora-web - fedora-web
- fedora-web/start - fedora-web/start

View file

@ -3,4 +3,4 @@
- name: Conditionally restart fedora_nightlies consumer service - name: Conditionally restart fedora_nightlies consumer service
ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@fedora_nightlies ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@fedora_nightlies
listen: listen:
- restart fedora_nightlies - Restart fedora_nightlies

View file

@ -101,7 +101,7 @@
ansible.builtin.command: "python3 -m pip install --no-deps /root/fedora_nightlies" ansible.builtin.command: "python3 -m pip install --no-deps /root/fedora_nightlies"
when: "gitfn is changed or instfn.rc != 0" when: "gitfn is changed or instfn.rc != 0"
notify: notify:
- restart fedora_nightlies - Restart fedora_nightlies
- name: Create /etc/pki/fedora-messaging - name: Create /etc/pki/fedora-messaging
ansible.builtin.file: ansible.builtin.file:
@ -145,7 +145,7 @@
- name: Configure fedora-messaging fedora_nightlies - name: Configure fedora-messaging fedora_nightlies
ansible.builtin.template: src=fedora_nightlies.toml.j2 dest=/etc/fedora-messaging/fedora_nightlies.toml owner=root group=root mode=0640 ansible.builtin.template: src=fedora_nightlies.toml.j2 dest=/etc/fedora-messaging/fedora_nightlies.toml owner=root group=root mode=0640
notify: notify:
- restart fedora_nightlies - Restart fedora_nightlies
tags: tags:
- config - config

View file

@ -18,6 +18,6 @@
with_items: with_items:
- fedoraloveskde.conf - fedoraloveskde.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- fedoraloveskde - fedoraloveskde

View file

@ -7,7 +7,7 @@
name: name:
- php - php
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- packages - packages
@ -24,7 +24,7 @@
group=root group=root
mode=0644 mode=0644
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- config - config

View file

@ -33,7 +33,7 @@
group=root group=root
mode=0644 mode=0644
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- geoip_config - geoip_config
- config - config
@ -61,7 +61,7 @@
group=root group=root
mode=0775 mode=0775
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- geoip_config - geoip_config
- config - config

View file

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

View file

@ -46,4 +46,4 @@
when: ansible_distribution_major_version|int == 6 and ansible_distribution == 'RedHat' when: ansible_distribution_major_version|int == 6 and ansible_distribution == 'RedHat'
tags: git/server tags: git/server
notify: notify:
- restart xinetd - Restart xinetd

View file

@ -30,7 +30,7 @@
- config - config
- github2fedmsg - github2fedmsg
notify: notify:
- restart apache - Restart apache
- name: Copy github2fedmsg wsgi script - name: Copy github2fedmsg wsgi script
ansible.builtin.copy: > ansible.builtin.copy: >
@ -42,7 +42,7 @@
- config - config
- github2fedmsg - github2fedmsg
notify: notify:
- restart apache - Restart apache
- name: Copy github2fedmsg httpd config - name: Copy github2fedmsg httpd config
ansible.builtin.template: > ansible.builtin.template: >
@ -54,7 +54,7 @@
- config - config
- github2fedmsg - github2fedmsg
notify: notify:
- restart apache - Restart apache
- name: Hotfix - allow velruse to do stateless openid - name: Hotfix - allow velruse to do stateless openid
ansible.builtin.copy: > ansible.builtin.copy: >
@ -65,7 +65,7 @@
- hotfix - hotfix
- github2fedmsg - github2fedmsg
notify: notify:
- restart apache - Restart apache
# Fix for https://pagure.io/fedora-infrastructure/issue/11776 # Fix for https://pagure.io/fedora-infrastructure/issue/11776
- name: Hotfix - Fix the KeyError when looking for user in github event - name: Hotfix - Fix the KeyError when looking for user in github event
@ -76,7 +76,7 @@
- hotfix - hotfix
- github2fedmsg - github2fedmsg
notify: notify:
- restart apache - Restart apache
- name: Ensure selinux lets httpd talk to postgres - name: Ensure selinux lets httpd talk to postgres
seboolean: name=httpd_can_network_connect_db persistent=yes state=yes seboolean: name=httpd_can_network_connect_db persistent=yes state=yes

View file

@ -7,7 +7,7 @@
- ansible.builtin.template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf - ansible.builtin.template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf
notify: notify:
- reload httpd - Reload httpd
tags: tags:
- haproxy - haproxy
- haproxy/rewrite - haproxy/rewrite
@ -15,7 +15,7 @@
- ansible.builtin.template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf - ansible.builtin.template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf
notify: notify:
- reload proxyhttpd - Reload proxyhttpd
tags: tags:
- haproxy - haproxy
- haproxy/rewrite - haproxy/rewrite

View file

@ -17,7 +17,7 @@
with_items: with_items:
- { file: haproxy.cfg, dest: /etc/haproxy/haproxy.cfg } - { file: haproxy.cfg, dest: /etc/haproxy/haproxy.cfg }
notify: notify:
- restart haproxy - Restart haproxy
tags: tags:
- haproxy - haproxy

Some files were not shown because too many files have changed in this diff Show more