diff --git a/handlers/restart_services.yml b/handlers/restart_services.yml index 7c117fee67..690c2d544d 100644 --- a/handlers/restart_services.yml +++ b/handlers/restart_services.yml @@ -2,207 +2,207 @@ # Handlers for restarting services # --- -- name: reload systemd +- name: Reload systemd ansible.builtin.command: systemctl daemon-reload -- name: restart apache +- name: Restart apache ansible.builtin.command: /usr/local/bin/conditional-restart.sh httpd httpd -- name: reload apache +- name: Reload apache action: service name=httpd state=reloaded -- name: restart collectd +- name: Restart collectd action: service name=collectd state=restarted -- name: restart crond +- name: Restart crond 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 -- name: restart fedmsg-hub +- name: Restart fedmsg-hub ansible.builtin.command: /usr/local/bin/conditional-restart.sh {{ item }} with_items: - fedmsg-hub - fedmsg-hub-3 -- name: restart fedmsg-hub-3 +- name: Restart fedmsg-hub-3 ansible.builtin.command: /usr/local/bin/conditional-restart.sh {{ item }} with_items: - fedmsg-hub - fedmsg-hub-3 -- name: restart fedmsg-irc +- name: Restart 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 -- 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 -- name: reload httpd +- name: Reload httpd ansible.builtin.command: /usr/local/bin/conditional-reload.sh httpd httpd -- name: restart iptables +- name: Restart iptables action: service name=iptables state=restarted -- name: restart ip6tables +- name: Restart ip6tables action: service name=ip6tables state=restarted -- name: restart libvirtd +- name: Restart libvirtd action: service name=libvirtd state=restarted -- name: restart virtnetworkd +- name: Restart virtnetworkd action: service name=virtnetworkd state=restarted -- name: restart libvirtd.socket +- name: Restart libvirtd.socket 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 -- name: restart named +- name: Restart named action: service name=named state=restarted -- name: restart ntpd +- name: Restart ntpd action: service name=ntpd state=restarted -- name: restart sshd +- name: Restart sshd action: service name=sshd state=restarted -- name: restart openvpn (Fedora) +- name: Restart openvpn (Fedora) when: ansible_distribution == "Fedora" action: service name=openvpn-client@openvpn state=restarted # 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 action: service name=openvpn-client@openvpn state=restarted # notify: - # - fix openvpn routing + # - Fix openvpn routing -- name: fix openvpn routing +- name: Fix openvpn routing action: shell /etc/openvpn/fix-routes.sh -- name: restart xinetd +- name: Restart xinetd action: service name=xinetd state=restarted when: not inventory_hostname.startswith('proxy') -- name: restart netapproute +- name: Restart netapproute action: command /etc/sysconfig/network-scripts/ifup-routes eth1 -- name: restart network +- name: Restart network action: service name=network state=restarted -- name: rebuild postfix transport +- name: Rebuild 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 -- name: rebuild postfix tls_policy +- name: Rebuild postfix tls_policy ansible.builtin.command: /usr/sbin/postmap /etc/postfix/tls_policy -- name: restart postfix +- name: Restart postfix service: name=postfix state=restarted -- name: reload proxyhttpd +- name: Reload proxyhttpd ansible.builtin.command: /usr/local/bin/proxy-conditional-reload.sh httpd httpd -- name: run rkhunter +- name: Run rkhunter ansible.builtin.command: rkhunter --propupd -- name: restart moksha-hub +- name: Restart moksha-hub service: name=moksha-hub state=restarted -- name: restart dhcpd +- name: Restart dhcpd service: name=dhcpd state=restarted -- name: restart memcached +- name: Restart memcached service: name=memcached state=restarted -- name: restart nagios +- name: 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 -- name: reload libvirtd +- name: Reload libvirtd service: name=libvirtd state=reloaded ignore_errors: true when: ansible_virtualization_role == 'host' -- name: restart pagure_ev +- name: Restart pagure_ev service: name=pagure_ev state=restarted -- name: "update ca-trust" +- name: Update ca-trust ansible.builtin.command: /usr/bin/update-ca-trust -- name: restart stunnel +- name: Restart stunnel service: name=stunnel state=restarted -- name: restart mirrorlist-server +- name: Restart mirrorlist-server service: name=mirrorlist-server state=restarted -- name: restart NetworkManager +- name: Restart NetworkManager service: name=NetworkManager state=restarted -- name: reload NetworkManager-connections +- name: Reload NetworkManager-connections ansible.builtin.command: nmcli c reload -- name: restart basset-worker +- name: Restart basset-worker service: name=basset-worker state=restarted -- name: apply interface-changes +- name: Apply interface-changes ansible.builtin.command: nmcli con up {{ item.split()[1] }} async: 1 poll: 0 loop: "{{ if_uuid.stdout_lines|flatten(levels=1) }}" 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 -- name: restart idmapd +- name: Restart idmapd service: name=nfs-idmapd state=restarted -- name: restart buildmaster +- name: Restart buildmaster service: name=buildmaster state=restarted -- name: restart rabbitmq +- name: Restart rabbitmq systemd: name: rabbitmq-server state: restarted daemon_reload: yes -- name: restart chronyd +- name: Restart chronyd service: name=chronyd state=restarted -- name: restart kojira +- name: Restart kojira systemd: name: kojira state: restarted -- name: restart haveged +- name: Restart haveged service: name=haveged state=restarted -- name: restart obs-signd +- name: Restart obs-signd service: name=signd state=restarted -- name: restart swap.swap +- name: Restart swap.swap service: name="swap.swap" state=restarted -- name: restart varnish +- name: Restart varnish service: name=varnish state=restarted -- name: reload varnish +- name: Reload varnish service: name=varnish state=reload -- name: restart systemd-oomd +- name: Restart systemd-oomd service: name=systemd-oomd state=reload -- name: restart debuginfod +- name: Restart debuginfod service: name=debuginfod state=restarted diff --git a/playbooks/groups/debuginfod.yml b/playbooks/groups/debuginfod.yml index 9316c8b133..1d997367b0 100644 --- a/playbooks/groups/debuginfod.yml +++ b/playbooks/groups/debuginfod.yml @@ -55,7 +55,7 @@ ansible.builtin.copy: src="{{ files }}/debuginfod/sysconfig.debuginfod" dest=/etc/sysconfig/debuginfod owner=root group=root mode=644 tags: debuginfod notify: - - restart debuginfod + - Restart debuginfod - name: Ensure systemd drop-in directory exists ansible.builtin.file: > @@ -67,7 +67,7 @@ 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 notify: - - restart debuginfod + - Restart debuginfod - name: Ensure debuginfod is enabled and started service: diff --git a/playbooks/groups/ipa.yml b/playbooks/groups/ipa.yml index 2ab38842f6..2c4adcbc61 100644 --- a/playbooks/groups/ipa.yml +++ b/playbooks/groups/ipa.yml @@ -50,7 +50,7 @@ service: HTTP host: "id{{env_suffix}}.fedoraproject.org" notify: - - combine IPA http keytabs + - Combine IPA http keytabs handlers: - import_tasks: "{{ handlers_path }}/restart_services.yml" diff --git a/playbooks/groups/proxies.yml b/playbooks/groups/proxies.yml index edce0657e0..986ab686d6 100644 --- a/playbooks/groups/proxies.yml +++ b/playbooks/groups/proxies.yml @@ -140,7 +140,7 @@ ansible.builtin.copy: src=/root/ticketkey_{{env}}.tkey dest=/etc/httpd/ticketkey_{{env}}.tkey owner=root group=root mode=0600 notify: - - reload proxyhttpd + - Reload proxyhttpd # # If this is an initial deployment, make sure docs are synced over. diff --git a/playbooks/include/proxies-miscellaneous.yml b/playbooks/include/proxies-miscellaneous.yml index ef4bb5aef4..f98afa41c3 100644 --- a/playbooks/include/proxies-miscellaneous.yml +++ b/playbooks/include/proxies-miscellaneous.yml @@ -19,7 +19,7 @@ dest=/etc/httpd/conf.d/apps.fedoraproject.org/fedora-releng-dash.conf state=absent tags: releng-dash - notify: reload proxyhttpd + notify: Reload proxyhttpd roles: diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index bbf0ed2663..b15f877c1a 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -23,7 +23,7 @@ - meetbot.fedoraproject.org/reversepassproxy.conf - meetbot.fedoraproject.org/meetbot.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/reverseproxy diff --git a/playbooks/manual/copr/copr-keygen-upgrade.yml b/playbooks/manual/copr/copr-keygen-upgrade.yml index 5368a45982..30989b0321 100644 --- a/playbooks/manual/copr/copr-keygen-upgrade.yml +++ b/playbooks/manual/copr/copr-keygen-upgrade.yml @@ -22,7 +22,7 @@ - python3-copr-common update_cache: true notify: - - restart haveged + - Restart haveged handlers: - import_tasks: "{{ handlers_path }}/restart_services.yml" diff --git a/playbooks/manual/copr/copr-pulp-upgrade.yml b/playbooks/manual/copr/copr-pulp-upgrade.yml index 9040755509..5c92f8852e 100644 --- a/playbooks/manual/copr/copr-pulp-upgrade.yml +++ b/playbooks/manual/copr/copr-pulp-upgrade.yml @@ -21,7 +21,7 @@ - python3-copr-common update_cache: true notify: - - restart haveged + - Restart haveged handlers: - import_tasks: "{{ handlers_path }}/restart_services.yml" diff --git a/playbooks/update_ticketkey.yml b/playbooks/update_ticketkey.yml index 3b4ff51850..592823f790 100644 --- a/playbooks/update_ticketkey.yml +++ b/playbooks/update_ticketkey.yml @@ -36,4 +36,4 @@ ansible.builtin.copy: src=/root/ticketkey_{{env}}.tkey dest=/etc/httpd/ticketkey_{{env}}.tkey owner=root group=root mode=0600 notify: - - reload proxyhttpd + - Reload proxyhttpd diff --git a/roles/abrt/faf-post/handlers/main.yml b/roles/abrt/faf-post/handlers/main.yml index 1ac3f2273f..f910578967 100644 --- a/roles/abrt/faf-post/handlers/main.yml +++ b/roles/abrt/faf-post/handlers/main.yml @@ -1,7 +1,7 @@ --- -- name: restart httpd +- name: Restart httpd service: name=httpd state=restarted -- name: restart postgresql +- name: Restart postgresql service: name=postgresql state=restarted diff --git a/roles/abrt/faf-pre/handlers/main.yml b/roles/abrt/faf-pre/handlers/main.yml index f993c28369..b201220162 100644 --- a/roles/abrt/faf-pre/handlers/main.yml +++ b/roles/abrt/faf-pre/handlers/main.yml @@ -1,10 +1,10 @@ --- -- name: restart httpd +- name: Restart httpd service: name: httpd state: restarted -- name: restart postgresql +- name: Restart postgresql service: name: postgresql state: restarted diff --git a/roles/abrt/faf-pre/tasks/main.yml b/roles/abrt/faf-pre/tasks/main.yml index dda63c4f83..d3a63a0f50 100644 --- a/roles/abrt/faf-pre/tasks/main.yml +++ b/roles/abrt/faf-pre/tasks/main.yml @@ -52,53 +52,53 @@ dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py regexp: 'ADMINS =' line: ' ADMINS = "infrastructure@lists.fedoraproject.org"' - notify: restart httpd + notify: Restart httpd - name: Configure MORE_FAF lineinfile: dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py regexp: 'MORE_FAF =' line: ' MORE_FAF = "https://github.com/abrt/faf/"' - notify: restart httpd + notify: Restart httpd - name: Configure MORE_RS lineinfile: dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py regexp: 'MORE_RS =' line: ' MORE_RS = "https://github.com/abrt/retrace-server"' - notify: restart httpd + notify: Restart httpd - name: Configure MORE_ABRT lineinfile: dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py regexp: 'MORE_ABRT =' line: ' MORE_ABRT = "https://github.com/abrt/abrt/"' - notify: restart httpd + notify: Restart httpd - name: Configure MORE_GABRT lineinfile: dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py regexp: 'MORE_GABRT =' line: ' MORE_GABRT = "https://github.com/abrt/gnome-abrt/"' - notify: restart httpd + notify: Restart httpd - name: Configure MORE_LR lineinfile: dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py regexp: 'MORE_LR =' line: ' MORE_LR = "https://github.com/abrt/libreport/"' - notify: restart httpd + notify: Restart httpd - name: Configure MORE_SATYR lineinfile: dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py regexp: 'MORE_SATYR =' line: ' MORE_SATYR = "https://github.com/abrt/satyr/"' - notify: restart httpd + notify: Restart httpd - name: Configure URL_FOR_FAF lineinfile: dest: /usr/lib/python3.6/site-packages/abrt-server-info-page/config.py regexp: 'URL_FOR_FAF =' line: ' URL_FOR_FAF = "https://{{ faf_server_name }}"' - notify: restart httpd + notify: Restart httpd diff --git a/roles/abrt/faf-pre/tasks/setup_db.yml b/roles/abrt/faf-pre/tasks/setup_db.yml index a15d1893e1..1491e35d30 100644 --- a/roles/abrt/faf-pre/tasks/setup_db.yml +++ b/roles/abrt/faf-pre/tasks/setup_db.yml @@ -9,56 +9,56 @@ path: /var/lib/pgsql/data/postgresql.conf regexp: '^max_connections =' line: 'max_connections = 150' - notify: restart postgresql + notify: Restart postgresql - name: Set shared_buffers for PostgreSQL lineinfile: path: /var/lib/pgsql/data/postgresql.conf regexp: '^shared_buffers =' line: 'shared_buffers = 25536MB' - notify: restart postgresql + notify: Restart postgresql - name: Set effective_cache_size for PostgreSQL lineinfile: path: /var/lib/pgsql/data/postgresql.conf regexp: '^effective_cache_size =' line: 'effective_cache_size = 50608MB' - notify: restart postgresql + notify: Restart postgresql - name: Set work_mem for PostgreSQL lineinfile: path: /var/lib/pgsql/data/postgresql.conf regexp: '^work_mem =' line: 'work_mem = 6MB' - notify: restart postgresql + notify: Restart postgresql - name: Set maintenance_work_mem for PostgreSQL lineinfile: path: /var/lib/pgsql/data/postgresql.conf regexp: '^maintenance_work_mem =' line: 'maintenance_work_mem = 2GB' - notify: restart postgresql + notify: Restart postgresql - name: Set checkpoint_completion_target for PostgreSQL lineinfile: path: /var/lib/pgsql/data/postgresql.conf regexp: '^checkpoint_completion_target =' line: 'checkpoint_completion_target = 0.9' - notify: restart postgresql + notify: Restart postgresql - name: Set wal_buffers for PostgreSQL lineinfile: path: /var/lib/pgsql/data/postgresql.conf regexp: '^wal_buffers =' line: 'wal_buffers = -1' - notify: restart postgresql + notify: Restart postgresql - name: Set default_statistics_target for PostgreSQL lineinfile: path: /var/lib/pgsql/data/postgresql.conf regexp: '^default_statistics_target =' line: 'default_statistics_target = 100' - notify: restart postgresql + notify: Restart postgresql - name: Drop faf database postgresql_db: diff --git a/roles/abrt/faf/handlers/main.yml b/roles/abrt/faf/handlers/main.yml index 4a61966eed..23d49bd16e 100644 --- a/roles/abrt/faf/handlers/main.yml +++ b/roles/abrt/faf/handlers/main.yml @@ -1,5 +1,5 @@ --- -- name: restart httpd +- name: Restart httpd service: name: httpd state: restarted diff --git a/roles/abrt/faf/tasks/web.yml b/roles/abrt/faf/tasks/web.yml index 9497cbc411..0475ca8a7b 100644 --- a/roles/abrt/faf/tasks/web.yml +++ b/roles/abrt/faf/tasks/web.yml @@ -29,11 +29,11 @@ src: etc-faf-plugins-web.conf.j2 dest: /etc/faf/plugins/web.conf notify: - - restart httpd + - Restart httpd - name: Put webfaf on root (/) if configured ansible.builtin.template: src: etc-httpd-conf.d-faf-web.conf.j2 dest: /etc/httpd/conf.d/faf-web.conf notify: - - restart httpd + - Restart httpd diff --git a/roles/abrt/retrace/handlers/main.yml b/roles/abrt/retrace/handlers/main.yml index 4a61966eed..23d49bd16e 100644 --- a/roles/abrt/retrace/handlers/main.yml +++ b/roles/abrt/retrace/handlers/main.yml @@ -1,5 +1,5 @@ --- -- name: restart httpd +- name: Restart httpd service: name: httpd state: restarted diff --git a/roles/abrt/retrace/tasks/config.yml b/roles/abrt/retrace/tasks/config.yml index 365cb3d316..dc622c4356 100644 --- a/roles/abrt/retrace/tasks/config.yml +++ b/roles/abrt/retrace/tasks/config.yml @@ -4,18 +4,18 @@ src: etc-retrace-server.conf.j2 dest: /etc/retrace-server/retrace-server.conf mode: "0644" - notify: restart httpd + notify: Restart httpd - name: Retrace-server http config ansible.builtin.template: src: retrace-server-httpd.conf.j2 dest: /etc/httpd/conf.d/retrace-server-httpd.conf mode: "0644" - notify: restart httpd + notify: Restart httpd - name: Configure retrace-server hooks config ansible.builtin.template: src: etc-retrace-server-hooks.conf.j2 dest: /etc/retrace-server/retrace-server-hooks.conf mode: "0644" - notify: restart httpd + notify: Restart httpd diff --git a/roles/apache/tasks/main.yml b/roles/apache/tasks/main.yml index 3a1d45ad1d..ef3cf78ea5 100644 --- a/roles/apache/tasks/main.yml +++ b/roles/apache/tasks/main.yml @@ -25,7 +25,7 @@ service: name=httpd enabled=yes ignore_errors: true notify: - - reload apache + - Reload apache tags: - service - apache @@ -36,7 +36,7 @@ owner=root group=root mode=0755 when: ansible_distribution_major_version|int < 30 and ansible_distribution == 'Fedora' notify: - - reload apache + - Reload apache tags: - config - hotfix @@ -48,7 +48,7 @@ owner=root group=root mode=0755 when: ansible_distribution_major_version|int <= 8 and ansible_distribution == 'RedHat' notify: - - reload apache + - Reload apache tags: - config - hotfix @@ -57,7 +57,7 @@ - name: Add appserver headers.conf ansible.builtin.template: src="{{ files }}/httpd/headers.conf.j2" dest=/etc/httpd/conf.d/headers.conf notify: - - reload apache + - Reload apache tags: - config - apache @@ -67,7 +67,7 @@ ansible.builtin.template: src="{{ files }}/httpd/h2.conf.j2" dest=/etc/httpd/conf.d/h2.conf when: ansible_distribution == 'Fedora' notify: - - reload apache + - Reload apache tags: - config - apache @@ -76,7 +76,7 @@ - name: Add apache_status location for collectd ansible.builtin.template: src="{{ files }}/httpd/apachestatus.conf" dest=/etc/httpd/conf.d/apachestatus.conf notify: - - reload apache + - Reload apache tags: - config - apache diff --git a/roles/apps-fp-o/tasks/main.yml b/roles/apps-fp-o/tasks/main.yml index 08fb6ca342..8b3a6674e6 100644 --- a/roles/apps-fp-o/tasks/main.yml +++ b/roles/apps-fp-o/tasks/main.yml @@ -9,7 +9,7 @@ src=apps.fp.o.conf dest=/etc/httpd/conf.d/{{website}}/apps.fp.o.conf owner=root group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - apps-fp-o diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 47f0de6fea..e9865ef104 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -246,7 +246,7 @@ - config - base notify: - - flush journald tmpfiles to persistent store + - Flush journald tmpfiles to persistent store - name: Enable journald persistence ansible.builtin.file: path=/var/log/journal state=directory @@ -257,7 +257,7 @@ - config - base notify: - - flush journald tmpfiles to persistent store + - Flush journald tmpfiles to persistent store - name: Install rh ca for splunk ansible.builtin.copy: src={{ private }}/files/splunk-certs/2022-IT-Root-CA.pem diff --git a/roles/base/tasks/postfix.yml b/roles/base/tasks/postfix.yml index e7741af9a6..159379a2e5 100644 --- a/roles/base/tasks/postfix.yml +++ b/roles/base/tasks/postfix.yml @@ -10,7 +10,7 @@ - "postfix/main.cf/main.cf.{{ datacenter }}" - "postfix/main.cf/main.cf" notify: - - restart postfix + - Restart postfix tags: - postfix - config @@ -26,7 +26,7 @@ - "postfix/master.cf/master.cf" when: inventory_hostname.startswith(('smtp-mm', 'mailman', 'noc02', 'bastion', 'smtp-auth')) notify: - - restart postfix + - Restart postfix tags: - postfix - config @@ -36,7 +36,7 @@ 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" notify: - - restart postfix + - Restart postfix tags: - postfix - config @@ -49,7 +49,7 @@ option: PrivateDevices value: false notify: - - reload systemd + - Reload systemd when: inventory_hostname.startswith(('buildvm-s390x')) tags: - postfix @@ -66,8 +66,8 @@ ansible.builtin.copy: src="postfix/{{ postfix_transport_filename }}" dest=/etc/postfix/transport when: inventory_hostname.startswith(('smtp-mm','bastion','noc02')) and env != 'staging' notify: - - rebuild postfix transport - - restart postfix + - Rebuild postfix transport + - Restart postfix tags: - postfix - base @@ -77,8 +77,8 @@ ansible.builtin.copy: src="postfix/bysender" dest=/etc/postfix/bysender when: inventory_hostname.startswith(('bastion')) and env != 'staging' notify: - - rebuild postfix bysender - - restart postfix + - Rebuild postfix bysender + - Restart postfix tags: - postfix - base @@ -88,8 +88,8 @@ ansible.builtin.copy: src="postfix/tls_policy" dest=/etc/postfix/tls_policy when: inventory_hostname.startswith(('bastion','smtp-mm','pagure')) and env != 'staging' notify: - - rebuild postfix tls_policy - - restart postfix + - Rebuild postfix tls_policy + - Restart postfix tags: - postfix @@ -105,6 +105,6 @@ mode=0600 when: inventory_hostname.startswith(('bastion','smtp-mm')) and env != 'staging' notify: - - restart postfix + - Restart postfix tags: - postfix diff --git a/roles/basessh/tasks/main.yml b/roles/basessh/tasks/main.yml index e71aad9400..baf70dd6eb 100644 --- a/roles/basessh/tasks/main.yml +++ b/roles/basessh/tasks/main.yml @@ -74,7 +74,7 @@ - name: Sshd_config ansible.builtin.template: src=sshd_config dest=/etc/ssh/sshd_config mode=0600 notify: - - restart sshd + - Restart sshd tags: - basessh - sshd_config @@ -217,7 +217,7 @@ with_items: "{{certs_to_sign}}" register: certcopy notify: - - restart sshd + - Restart sshd tags: - basessh - sshd_cert diff --git a/roles/batcave/tasks/main.yml b/roles/batcave/tasks/main.yml index b0017c74b3..a4ade0e1cf 100644 --- a/roles/batcave/tasks/main.yml +++ b/roles/batcave/tasks/main.yml @@ -342,7 +342,7 @@ - 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 notify: - - reload httpd + - Reload httpd tags: - batcave - config @@ -351,7 +351,7 @@ - name: Install web server config for batcave (access rules) ansible.builtin.copy: src=allows dest=/etc/httpd/conf.d/allows mode=0644 notify: - - reload httpd + - Reload httpd tags: - batcave - config @@ -360,7 +360,7 @@ - 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 notify: - - reload httpd + - Reload httpd tags: - batcave - config diff --git a/roles/blockerbugs/tasks/main.yml b/roles/blockerbugs/tasks/main.yml index 8172147e00..2475a1bdf9 100644 --- a/roles/blockerbugs/tasks/main.yml +++ b/roles/blockerbugs/tasks/main.yml @@ -14,7 +14,7 @@ - name: Setup blockerbugs apache conf ansible.builtin.copy: src=blockerbugs.conf dest=/etc/httpd/conf.d/blockerbugs.conf mode=644 notify: - - reload httpd + - Reload httpd tags: - config - httpd @@ -41,7 +41,7 @@ - name: Setup blockerbugs app settings file ansible.builtin.template: src=blockerbugs-settings.py.j2 dest=/etc/blockerbugs/settings.py mode=640 notify: - - reload httpd + - Reload httpd tags: - config - httpd @@ -53,7 +53,7 @@ - blockerbugs - apache notify: - - reload httpd + - Reload httpd tags: - config - httpd diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index 09e25c1c2c..a98b37a07f 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -153,8 +153,8 @@ dest: /etc/fedora-messaging/koji_sync_listener.toml when: env == "production" notify: - - reload systemd - - restart fm-consumer@koji_sync_listener + - Reload systemd + - Restart fm-consumer@koji_sync_listener tags: - bodhi - koji-sync @@ -405,7 +405,7 @@ group: root mode: "0644" notify: - - reload systemd + - Reload systemd tags: - bodhi - config @@ -418,7 +418,7 @@ group: root mode: "0644" notify: - - reload systemd + - Reload systemd tags: - bodhi - config diff --git a/roles/btrfs/tasks/main.yml b/roles/btrfs/tasks/main.yml index 0b12fa052c..fda648417f 100644 --- a/roles/btrfs/tasks/main.yml +++ b/roles/btrfs/tasks/main.yml @@ -23,7 +23,7 @@ group: root mode: "0644" notify: - - reload systemd + - Reload systemd - Restart btrfs-balance diff --git a/roles/bugzilla2fedmsg/tasks/main.yml b/roles/bugzilla2fedmsg/tasks/main.yml index 769f3b52c0..44cac87fd5 100644 --- a/roles/bugzilla2fedmsg/tasks/main.yml +++ b/roles/bugzilla2fedmsg/tasks/main.yml @@ -15,7 +15,7 @@ src=moksha-hub.service dest=/usr/lib/systemd/system/moksha-hub.service notify: - - restart moksha-hub + - Restart moksha-hub tags: - bugzilla2fedmsg @@ -40,7 +40,7 @@ group=fedmsg mode=0640 notify: - - restart moksha-hub + - Restart moksha-hub tags: - bugzilla2fedmsg @@ -53,7 +53,7 @@ - msg-client-fedora-prod.crt - msg-client-fedora-prod.key notify: - - restart moksha-hub + - Restart moksha-hub tags: - bugzilla2fedmsg diff --git a/roles/check-compose/handlers/main.yml b/roles/check-compose/handlers/main.yml index 6d7a3540d9..416589cfd6 100644 --- a/roles/check-compose/handlers/main.yml +++ b/roles/check-compose/handlers/main.yml @@ -3,4 +3,4 @@ - name: Conditionally restart check-compose consumer service ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@check-compose listen: - - restart check-compose + - Restart check-compose diff --git a/roles/check-compose/tasks/main.yml b/roles/check-compose/tasks/main.yml index 76dd5ef714..2b99b7f8fc 100644 --- a/roles/check-compose/tasks/main.yml +++ b/roles/check-compose/tasks/main.yml @@ -134,7 +134,7 @@ ansible.builtin.command: "python3 -m pip install --no-deps /root/check-compose" when: "gitcc is changed or instcc.rc != 0" notify: - - restart check-compose + - Restart check-compose - name: Create /etc/pki/fedora-messaging ansible.builtin.file: @@ -179,7 +179,7 @@ - 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 notify: - - restart check-compose + - Restart check-compose tags: - config diff --git a/roles/chrony/tasks/main.yml b/roles/chrony/tasks/main.yml index 37416a4d6f..b2a4d9f2ad 100644 --- a/roles/chrony/tasks/main.yml +++ b/roles/chrony/tasks/main.yml @@ -9,7 +9,7 @@ - name: Install chrony.conf ansible.builtin.template: src=chrony.conf.j2 dest=/etc/chrony.conf notify: - - restart chronyd + - Restart chronyd tags: - chrony - config diff --git a/roles/collectd/base/tasks/main.yml b/roles/collectd/base/tasks/main.yml index 2105e1a2c2..c7e9e6ae60 100644 --- a/roles/collectd/base/tasks/main.yml +++ b/roles/collectd/base/tasks/main.yml @@ -42,7 +42,7 @@ tags: - collectd notify: - - restart collectd + - Restart collectd # install collectd-network config - name: /etc/collectd.d/network.conf @@ -50,7 +50,7 @@ tags: - collectd notify: - - restart collectd + - Restart collectd when: not inventory_hostname.startswith('log') # install collectd-network config @@ -59,7 +59,7 @@ tags: - collectd notify: - - restart collectd + - Restart collectd when: inventory_hostname.startswith('log') # apache - localhost only - pretty much any apache server @@ -68,7 +68,7 @@ tags: - collectd notify: - - restart collectd + - Restart collectd when: collectd_apache and ansible_distribution_major_version|int <= 7 and ansible_distribution == 'RedHat' - name: Install collectd-apache (dnf) @@ -76,7 +76,7 @@ tags: - collectd notify: - - restart collectd + - Restart collectd when: collectd_apache and ansible_distribution_major_version|int > 7 and ansible_distribution == 'RedHat' - name: Install collectd-apache (dnf) @@ -84,7 +84,7 @@ tags: - collectd notify: - - restart collectd + - Restart collectd when: collectd_apache and ansible_distribution_major_version|int >= 29 and ansible_distribution == 'Fedora' - name: /etc/collectd/apache.conf @@ -92,7 +92,7 @@ tags: - collectd notify: - - restart collectd + - Restart collectd when: collectd_apache - name: Install libsemanage-python so we can set an sebool below @@ -107,7 +107,7 @@ - collectd ignore_errors: true notify: - - restart collectd + - Restart collectd when: ( collectd_apache is defined ) and ansible_selinux.status != "disabled" - name: Enable collectd nfs module @@ -115,7 +115,7 @@ tags: - collectd notify: - - restart collectd + - Restart collectd # Three tasks for handling our (two) custom selinux modules. - name: Ensure a directory exists for our custom selinux module diff --git a/roles/collectd/bind/tasks/main.yml b/roles/collectd/bind/tasks/main.yml index 9403b0ddd8..3013eb8468 100644 --- a/roles/collectd/bind/tasks/main.yml +++ b/roles/collectd/bind/tasks/main.yml @@ -12,4 +12,4 @@ dest=/etc/collectd.d/bind.conf tags: - collectd - notify: restart collectd + notify: Restart collectd diff --git a/roles/collectd/fcomm-queue/tasks/main.yml b/roles/collectd/fcomm-queue/tasks/main.yml index f72f93132b..a50b6f2e77 100644 --- a/roles/collectd/fcomm-queue/tasks/main.yml +++ b/roles/collectd/fcomm-queue/tasks/main.yml @@ -12,7 +12,7 @@ mode=0755 tags: - collectd - notify: restart collectd + notify: Restart collectd - name: Copy in /etc/collectd.d/fcomm-queue.conf ansible.builtin.copy: > @@ -20,7 +20,7 @@ dest=/etc/collectd.d/fcomm-queue-conf tags: - collectd - notify: restart collectd + notify: Restart collectd # Three tasks for handling our custom selinux module. - name: Ensure a directory exists for our custom selinux module diff --git a/roles/collectd/fedmsg-activation/tasks/main.yml b/roles/collectd/fedmsg-activation/tasks/main.yml index 5c6fc9218b..23de0f5e9f 100644 --- a/roles/collectd/fedmsg-activation/tasks/main.yml +++ b/roles/collectd/fedmsg-activation/tasks/main.yml @@ -3,13 +3,13 @@ ansible.builtin.copy: src=fedmsg-map.py dest=/usr/local/bin/fedmsg-map mode=0755 tags: - collectd - notify: restart collectd + notify: Restart collectd - name: Copy in /etc/collectd.d/fedmsg-activation/conf ansible.builtin.copy: src=fedmsg-activation.conf dest=/etc/collectd.d/fedmsg-activation.conf tags: - collectd - notify: restart collectd + notify: Restart collectd - seboolean: name=collectd_tcp_network_connect persistent=yes state=yes tags: diff --git a/roles/collectd/fedmsg-service/tasks/main.yml b/roles/collectd/fedmsg-service/tasks/main.yml index 5c356e76dc..c77122948e 100644 --- a/roles/collectd/fedmsg-service/tasks/main.yml +++ b/roles/collectd/fedmsg-service/tasks/main.yml @@ -8,7 +8,7 @@ tags: - collectd - collectd/fedmsg - notify: restart collectd + notify: Restart collectd - name: Copy in /etc/collectd.d/fedmsg-service.conf ansible.builtin.template: > @@ -17,4 +17,4 @@ tags: - collectd - collectd/fedmsg - notify: restart collectd + notify: Restart collectd diff --git a/roles/collectd/memcached/tasks/main.yml b/roles/collectd/memcached/tasks/main.yml index d763deaace..9401c0bde0 100644 --- a/roles/collectd/memcached/tasks/main.yml +++ b/roles/collectd/memcached/tasks/main.yml @@ -6,7 +6,7 @@ - collectd/memcached - collectd - memcached - notify: restart collectd + notify: Restart collectd - name: Lastly, set some selinux booleans seboolean: name=collectd_tcp_network_connect persistent=yes state=yes diff --git a/roles/collectd/postgres/tasks/main.yml b/roles/collectd/postgres/tasks/main.yml index 65a21984d6..7c6942e1bb 100644 --- a/roles/collectd/postgres/tasks/main.yml +++ b/roles/collectd/postgres/tasks/main.yml @@ -7,7 +7,7 @@ mode=0755 tags: - collectd - notify: restart collectd + notify: Restart collectd - name: Copy in /etc/collectd.d/postgres.conf ansible.builtin.template: > @@ -15,4 +15,4 @@ dest=/etc/collectd.d/postgres.conf tags: - collectd - notify: restart collectd + notify: Restart collectd diff --git a/roles/collectd/rabbitmq/tasks/main.yml b/roles/collectd/rabbitmq/tasks/main.yml index 3a15d6546d..be355a2085 100644 --- a/roles/collectd/rabbitmq/tasks/main.yml +++ b/roles/collectd/rabbitmq/tasks/main.yml @@ -25,7 +25,7 @@ tags: - collectd - config - notify: restart collectd + notify: Restart collectd - name: Let collectd talk to the RabbitMQ management interface seboolean: name=collectd_tcp_network_connect state=yes persistent=yes diff --git a/roles/collectd/server/tasks/main.yml b/roles/collectd/server/tasks/main.yml index 29eec22ba4..72dd258503 100644 --- a/roles/collectd/server/tasks/main.yml +++ b/roles/collectd/server/tasks/main.yml @@ -9,7 +9,7 @@ - collectd-web - collectd-rabbitmq-data notify: - - restart collectd + - Restart collectd tags: - config - collectd/server @@ -23,7 +23,7 @@ - collectd-rabbitmq-data - collectd-ipa-data notify: - - restart collectd + - Restart collectd tags: - config - collectd/server @@ -37,7 +37,7 @@ loop: - fmn-types.db notify: - - restart collectd + - Restart collectd tags: - config - collectd/server @@ -52,7 +52,7 @@ - fmn.conf - unixsock.conf notify: - - restart collectd + - Restart collectd tags: - config - collectd/server @@ -100,7 +100,7 @@ src: service.timeout.conf dest: /etc/systemd/system/collectd.service.d/timeout.conf notify: - - reload systemd + - Reload systemd tags: - config - collectd/server diff --git a/roles/collectd/web-service/tasks/main.yml b/roles/collectd/web-service/tasks/main.yml index 563523ab81..22ee219c9f 100644 --- a/roles/collectd/web-service/tasks/main.yml +++ b/roles/collectd/web-service/tasks/main.yml @@ -7,7 +7,7 @@ mode=0755 tags: - collectd - notify: restart collectd + notify: Restart collectd - name: Copy in /etc/collectd.d/web-service.conf ansible.builtin.template: > @@ -15,7 +15,7 @@ dest=/etc/collectd.d/{{ site }}.conf tags: - collectd - notify: restart collectd + notify: Restart collectd - name: Let collectd talk to apache over tcp seboolean: name=collectd_tcp_network_connect state=yes persistent=yes diff --git a/roles/copr/backend/handlers/main.yml b/roles/copr/backend/handlers/main.yml index 30aa358201..10ed7fb470 100644 --- a/roles/copr/backend/handlers/main.yml +++ b/roles/copr/backend/handlers/main.yml @@ -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 -- name: restart copr-backend +- name: Restart copr-backend service: name="{{ copr_backend_target }}" state=restarted when: not services_disabled -- name: systemctl daemon-reload +- name: Systemctl daemon-reload ansible.builtin.command: /usr/bin/systemctl daemon-reload -- name: restart lighttpd +- name: Restart lighttpd action: service name=lighttpd state=restarted -- name: restart node_exporter +- name: Restart node_exporter action: service name=node_exporter state=restarted diff --git a/roles/copr/backend/tasks/main.yml b/roles/copr/backend/tasks/main.yml index 9dafe5d4dd..fed5514f36 100644 --- a/roles/copr/backend/tasks/main.yml +++ b/roles/copr/backend/tasks/main.yml @@ -96,7 +96,7 @@ - name: Install lighttpd.conf ansible.builtin.template: src="lighttpd/lighttpd.conf" dest=/etc/lighttpd/lighttpd.conf owner=root group=root mode=0644 notify: - - restart lighttpd + - Restart lighttpd tags: - config - lighttpd_config @@ -110,7 +110,7 @@ - content-encoding-gzip-if-exists.lua - pulp-redirect.lua notify: - - restart lighttpd + - Restart lighttpd tags: - config @@ -133,7 +133,7 @@ - dirlisting.conf - mime.conf notify: - - restart lighttpd + - Restart lighttpd tags: - config @@ -247,7 +247,7 @@ - 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 notify: - - restart copr-backend + - Restart copr-backend tags: - config - copr_infrastructure_password @@ -265,7 +265,7 @@ owner=copr group=copr mode=0600 when: copr_messaging notify: - - restart copr-backend + - Restart copr-backend tags: - config @@ -406,6 +406,6 @@ regexp: '^ARGS=' line: 'ARGS=--collector.systemd' backrefs: yes - notify: restart node_exporter + notify: Restart node_exporter tags: - prometheus_node_exporter diff --git a/roles/copr/backend/tasks/mount_fs.yml b/roles/copr/backend/tasks/mount_fs.yml index 077bcc4fb7..2ce08540c6 100644 --- a/roles/copr/backend/tasks/mount_fs.yml +++ b/roles/copr/backend/tasks/mount_fs.yml @@ -67,7 +67,7 @@ [Install] WantedBy=timers.target - notify: systemctl daemon-reload + notify: Systemctl daemon-reload - name: Prepare mount point ansible.builtin.file: state=directory path=/var/lib/copr/public_html diff --git a/roles/copr/backend/tasks/network.yml b/roles/copr/backend/tasks/network.yml index 7e64a4150d..7c702bcd5e 100644 --- a/roles/copr/backend/tasks/network.yml +++ b/roles/copr/backend/tasks/network.yml @@ -10,7 +10,7 @@ value: ifcfg-rh backup: yes notify: - - restart NetworkManager + - Restart NetworkManager - name: Set up gateway lineinfile: dest=/etc/sysconfig/network line="GATEWAYDEV=eth0" diff --git a/roles/copr/base/handlers/main.yml b/roles/copr/base/handlers/main.yml index 9acdeb4bc7..96c3d6d15c 100644 --- a/roles/copr/base/handlers/main.yml +++ b/roles/copr/base/handlers/main.yml @@ -1,5 +1,5 @@ --- - import_tasks: "{{ handlers_path }}/restart_services.yml" -- name: restart postgresql +- name: Restart postgresql service: name=postgresql state=restarted diff --git a/roles/copr/base/tasks/main.yml b/roles/copr/base/tasks/main.yml index 45f2ee5c52..fd5fc3228d 100644 --- a/roles/copr/base/tasks/main.yml +++ b/roles/copr/base/tasks/main.yml @@ -40,7 +40,7 @@ - name: Configure crond ansible.builtin.copy: src=sysconfig.crond dest=/etc/sysconfig/crond - notify: restart crond + notify: Restart crond - name: Install base copr packages ansible.builtin.package: @@ -66,7 +66,7 @@ state=present line='MAILTO=copr-team@redhat.com' regexp="^MAILTO" - notify: restart crond + notify: Restart crond - name: Override the default rsyslog logrotate file ansible.builtin.copy: src=syslog-logrotate dest=/etc/logrotate.d/rsyslog diff --git a/roles/copr/certbot/templates/httpd b/roles/copr/certbot/templates/httpd index a35d0b3393..1720e3683e 100644 --- a/roles/copr/certbot/templates/httpd +++ b/roles/copr/certbot/templates/httpd @@ -2,4 +2,4 @@ case $1 in --init) exit 0 ;; esac -systemctl restart httpd +systemctl Restart httpd diff --git a/roles/copr/certbot/templates/lighttpd b/roles/copr/certbot/templates/lighttpd index de53e783d9..6c93c41bcc 100644 --- a/roles/copr/certbot/templates/lighttpd +++ b/roles/copr/certbot/templates/lighttpd @@ -23,4 +23,4 @@ for domain in $RENEWED_DOMAINS; do pem_fixup "$domain" done -systemctl restart lighttpd +systemctl Restart lighttpd diff --git a/roles/copr/dist_git/handlers/main.yml b/roles/copr/dist_git/handlers/main.yml index 6ee64e7f0b..600a32ddc2 100644 --- a/roles/copr/dist_git/handlers/main.yml +++ b/roles/copr/dist_git/handlers/main.yml @@ -1,6 +1,6 @@ --- -- name: reload httpd +- name: Reload httpd service: name="httpd" state="restarted" -- name: restart copr-dist-git +- name: Restart copr-dist-git service: name="copr-dist-git" state="restarted" diff --git a/roles/copr/dist_git/tasks/main.yml b/roles/copr/dist_git/tasks/main.yml index 0513f0385b..8ff9f09396 100644 --- a/roles/copr/dist_git/tasks/main.yml +++ b/roles/copr/dist_git/tasks/main.yml @@ -46,7 +46,7 @@ - config - copr_infrastructure_password notify: - - restart copr-dist-git + - Restart copr-dist-git - name: Set git variables for copr-dist-git user ansible.builtin.copy: src=".gitconfig" dest="/home/copr-dist-git/.gitconfig" @@ -61,7 +61,7 @@ tags: - config notify: - - reload httpd + - Reload httpd - name: Letsencrypt for copr-dist-git include_role: name=copr/certbot @@ -76,12 +76,12 @@ tags: - config notify: - - reload httpd + - Reload httpd - 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 notify: - - reload httpd + - Reload httpd - 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" diff --git a/roles/copr/frontend/handlers/main.yml b/roles/copr/frontend/handlers/main.yml index 493a6b18e2..185e297ca3 100644 --- a/roles/copr/frontend/handlers/main.yml +++ b/roles/copr/frontend/handlers/main.yml @@ -1,14 +1,14 @@ --- - import_tasks: "{{ handlers_path }}/restart_services.yml" -- name: restart postgresql +- name: Restart postgresql service: name=postgresql state=restarted -- name: restart copr-fe-fedora-messaging-reader +- name: Restart copr-fe-fedora-messaging-reader service: name="fm-consumer@copr_messaging" state=restarted when: not services_disabled|bool -- name: restart node_exporter +- name: Restart node_exporter action: service name=node_exporter state=restarted diff --git a/roles/copr/frontend/tasks/httpd.yml b/roles/copr/frontend/tasks/httpd.yml index 8fb0a6e415..458375f457 100644 --- a/roles/copr/frontend/tasks/httpd.yml +++ b/roles/copr/frontend/tasks/httpd.yml @@ -5,7 +5,7 @@ with_items: - "coprs.conf" notify: - - reload httpd + - Reload httpd tags: - config - certbot @@ -13,7 +13,7 @@ - name: Drop old and now unused coprs_ssl.conf ansible.builtin.file: path=/etc/httpd/conf.d/coprs_ssl.conf state=absent notify: - - reload httpd + - Reload httpd tags: - config diff --git a/roles/copr/frontend/tasks/main.yml b/roles/copr/frontend/tasks/main.yml index eead529d8f..ec9ea1dba2 100644 --- a/roles/copr/frontend/tasks/main.yml +++ b/roles/copr/frontend/tasks/main.yml @@ -86,8 +86,8 @@ - name: Install copr configs ansible.builtin.template: src="copr.conf" dest=/etc/copr/copr.conf mode=600 notify: - - reload httpd - - restart copr-fe-fedora-messaging-reader + - Reload httpd + - Restart copr-fe-fedora-messaging-reader tags: - config - copr_infrastructure_password @@ -181,7 +181,7 @@ - name: Install fedora messaging config for Copr ansible.builtin.template: src="fedora-messaging/copr_messaging.toml" dest="/etc/fedora-messaging/copr_messaging.toml" notify: - - restart copr-fe-fedora-messaging-reader + - Restart copr-fe-fedora-messaging-reader tags: - config @@ -191,7 +191,7 @@ - name: Install custom systemd service files ansible.builtin.copy: src=systemd dest=/etc notify: - - reload httpd + - Reload httpd - name: Compress rotated httpd logs ansible.builtin.copy: src="httpd.logrotate" dest="/etc/logrotate.d/httpd" @@ -219,7 +219,7 @@ regexp: '^ARGS=' line: 'ARGS=--collector.textfile.directory="/var/lib/prometheus/node-exporter" --collector.systemd' backrefs: yes - notify: restart node_exporter + notify: Restart node_exporter - name: Install nrpe dnf: name=nrpe state=present @@ -237,4 +237,4 @@ - name: Install gai.conf ansible.builtin.copy: src=gai.conf dest=/etc notify: - - reload httpd + - Reload httpd diff --git a/roles/copr/frontend/tasks/psql_setup.yml b/roles/copr/frontend/tasks/psql_setup.yml index 9ffbc68882..81ea2db159 100644 --- a/roles/copr/frontend/tasks/psql_setup.yml +++ b/roles/copr/frontend/tasks/psql_setup.yml @@ -17,7 +17,7 @@ - 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 notify: - - restart postgresql + - Restart postgresql tags: - config @@ -61,7 +61,7 @@ path: /var/lib/pgsql/data/postgresql.conf regexp: '^shared_buffers =' line: 'shared_buffers = 8096MB' - notify: restart postgresql + notify: Restart postgresql tags: - config @@ -70,7 +70,7 @@ path: /var/lib/pgsql/data/postgresql.conf regexp: '^effective_cache_size =' line: 'effective_cache_size = 2048MB' - notify: restart postgresql + notify: Restart postgresql tags: - config @@ -79,7 +79,7 @@ path: /var/lib/pgsql/data/postgresql.conf regexp: '^work_mem =' line: 'work_mem = 4MB' - notify: restart postgresql + notify: Restart postgresql tags: - config @@ -88,7 +88,7 @@ path: /var/lib/pgsql/data/postgresql.conf regexp: '^maintenance_work_mem =' line: 'maintenance_work_mem = 500MB' - notify: restart postgresql + notify: Restart postgresql tags: - config @@ -97,7 +97,7 @@ path: /var/lib/pgsql/data/postgresql.conf regexp: '^checkpoint_completion_target =' line: 'checkpoint_completion_target = 0.9' - notify: restart postgresql + notify: Restart postgresql tags: - config @@ -106,7 +106,7 @@ path: /var/lib/pgsql/data/postgresql.conf regexp: '^log_min_duration_statement =' line: 'log_min_duration_statement = 500' - notify: restart postgresql + notify: Restart postgresql tags: - config @@ -115,7 +115,7 @@ path: /var/lib/pgsql/data/postgresql.conf regexp: '^max_connections =' line: 'max_connections = 200' - notify: restart postgresql + notify: Restart postgresql tags: - config diff --git a/roles/copr/hypervisor/tasks/main.yml b/roles/copr/hypervisor/tasks/main.yml index b9280490a9..d9868be37e 100644 --- a/roles/copr/hypervisor/tasks/main.yml +++ b/roles/copr/hypervisor/tasks/main.yml @@ -48,7 +48,7 @@ - name: Install libvirtd.conf ansible.builtin.copy: src="{{ files }}/virthost/libvirtd.conf" dest=/etc/libvirt/libvirtd.conf notify: - - restart libvirtd + - Restart libvirtd tags: - libvirtd - config @@ -99,7 +99,7 @@ virsh net-start host-bridge virsh net-autostart host-bridge when: libvirt_bridge_exists.changed - notify: restart libvirtd + notify: Restart libvirtd tags: libvirtd - name: Check if image pool exists @@ -121,7 +121,7 @@ virsh pool-start "{{ image_pool_name }}" virsh pool-autostart "{{ image_pool_name }}" when: libvirt_pool_exists.changed - notify: restart libvirtd + notify: Restart libvirtd tags: libvirtd - name: Allow copr user controlling libvirt @@ -132,8 +132,8 @@ value: libvirt backup: yes notify: - - reload systemd - - restart libvirtd.socket + - Reload systemd + - Restart libvirtd.socket tags: libvirtd - name: Create the copr user diff --git a/roles/copr/keygen/tasks/main.yml b/roles/copr/keygen/tasks/main.yml index d097e73423..ddda285b0b 100644 --- a/roles/copr/keygen/tasks/main.yml +++ b/roles/copr/keygen/tasks/main.yml @@ -9,7 +9,7 @@ - name: Install copr-keygen dnf: state=present name=copr-keygen notify: - - restart haveged + - Restart haveged - name: Change owner of data to copr-signer 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 ansible.builtin.copy: src="httpd/copr-keygen.conf" dest="/etc/httpd/conf.d/copr-keygen.conf" notify: - - reload httpd + - Reload httpd tags: - config - name: Put config for signd ansible.builtin.template: src="sign.conf" dest="/etc/sign.conf" notify: - - restart obs-signd + - Restart obs-signd tags: - config diff --git a/roles/developer/website/tasks/main.yml b/roles/developer/website/tasks/main.yml index abcc9af31a..4d4fc2b7d6 100644 --- a/roles/developer/website/tasks/main.yml +++ b/roles/developer/website/tasks/main.yml @@ -11,6 +11,6 @@ with_items: - developer.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - developer diff --git a/roles/dhcp_server/tasks/main.yml b/roles/dhcp_server/tasks/main.yml index a9884acd16..bb7ea0e105 100644 --- a/roles/dhcp_server/tasks/main.yml +++ b/roles/dhcp_server/tasks/main.yml @@ -9,7 +9,7 @@ - name: Setup dhcpd.conf ansible.builtin.copy: src=dhcpd.conf.{{ inventory_hostname }} dest=/etc/dhcp/dhcpd.conf mode=644 notify: - - restart dhcpd + - Restart dhcpd tags: - sshd_config - config diff --git a/roles/distgit/pagure/handlers/main.yml b/roles/distgit/pagure/handlers/main.yml index 62b144e24b..850dfa874b 100644 --- a/roles/distgit/pagure/handlers/main.yml +++ b/roles/distgit/pagure/handlers/main.yml @@ -1,3 +1,3 @@ --- -- name: restart pagure_milter +- name: Restart pagure_milter service: name=pagure_milter state=restarted diff --git a/roles/distgit/pagure/tasks/main.yml b/roles/distgit/pagure/tasks/main.yml index c8ac6e7eff..87a016273b 100644 --- a/roles/distgit/pagure/tasks/main.yml +++ b/roles/distgit/pagure/tasks/main.yml @@ -42,8 +42,8 @@ # dest=/usr/lib/systemd/system/stunnel.service # owner=root group=root mode=0755 # notify: -# - reload systemd -# - restart stunnel +# - Reload systemd +# - Restart stunnel # tags: # - pagure # - stunnel @@ -61,7 +61,7 @@ # owner=root group=root mode=0600 # with_items: # - { file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf } -# notify: restart stunnel +# notify: Restart stunnel # tags: # - pagure # - stunnel @@ -137,7 +137,7 @@ - web - pagure notify: - - restart apache + - Restart apache - name: Pagure configuration for the hooks ansible.builtin.template: src={{ item.file }} @@ -151,7 +151,7 @@ - web - pagure notify: - - restart apache + - Restart apache - name: Create the database scheme ansible.builtin.command: /usr/bin/python3 /usr/share/pagure/pagure_createdb.py @@ -204,7 +204,7 @@ - config - pagure notify: - - restart apache + - Restart apache - name: Install the wsgi file ansible.builtin.template: src={{ item }} @@ -217,7 +217,7 @@ - web - pagure notify: - - restart apache + - Restart apache - name: Add default facl so apache can read git repos acl: default=yes etype=user entity=apache permissions="rx" name=/srv/git state=present @@ -247,7 +247,7 @@ - pagure_webhook - pagure_worker notify: - - reload systemd + - Reload systemd tags: - pagure @@ -268,7 +268,7 @@ - config - pagure notify: - - restart apache + - Restart apache - name: Create the /srv/cache/extras folder for the crons ansible.builtin.file: state=directory diff --git a/roles/distgit/tasks/main.yml b/roles/distgit/tasks/main.yml index 2e1f2327eb..c41fe39cc0 100644 --- a/roles/distgit/tasks/main.yml +++ b/roles/distgit/tasks/main.yml @@ -30,14 +30,14 @@ - name: Install the mod_auth_openidc configuration ansible.builtin.template: src=auth_openidc.conf dest=/etc/httpd/conf.d/auth_openidc.conf notify: - - reload httpd + - Reload httpd tags: - distgit - name: Install the http push configuration ansible.builtin.template: src=httppush.conf dest=/etc/httpd/conf.d/httpush.conf notify: - - reload httpd + - Reload httpd tags: - distgit @@ -67,7 +67,7 @@ - name: Install the mod_ssl configuration ansible.builtin.copy: src=ssl.conf dest=/etc/httpd/conf.d/ssl.conf notify: - - reload httpd + - Reload httpd tags: - distgit @@ -87,7 +87,7 @@ group=apache mode=0600 notify: - - reload httpd + - Reload httpd tags: - distgit @@ -198,14 +198,14 @@ - 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 notify: - - reload httpd + - Reload httpd tags: - distgit - name: Symlink pkgs-git-repos-list ansible.builtin.copy: src=repolist.conf dest=/etc/httpd/conf.d/dist-git/repolist.conf notify: - - reload httpd + - Reload httpd tags: - distgit @@ -241,7 +241,7 @@ - lookaside.conf - lookaside-upload.conf notify: - - reload httpd + - Reload httpd tags: - distgit - sslciphers diff --git a/roles/dns/tasks/main.yml b/roles/dns/tasks/main.yml index 3e745071d1..d8c4863890 100644 --- a/roles/dns/tasks/main.yml +++ b/roles/dns/tasks/main.yml @@ -12,7 +12,7 @@ - name: Copy rndc config ansible.builtin.copy: src=rndc.conf dest=/etc/rndc.conf notify: - - restart named + - Restart named tags: - config - dns @@ -20,7 +20,7 @@ - name: Copy rndc key ansible.builtin.copy: src={{ private }}/files/dns/rndc.key dest=/etc/rndc.key notify: - - restart named + - Restart named tags: - config - dns @@ -28,7 +28,7 @@ - name: Copy named cache ansible.builtin.copy: src=named.ca dest=/var/named/named.ca notify: - - restart named + - Restart named tags: - config - dns @@ -36,7 +36,7 @@ - name: Copy geoip.py ansible.builtin.copy: src=geoip.py dest=/usr/local/bin/geoip.py mode=0755 notify: - - restart named + - Restart named tags: - config - dns @@ -44,7 +44,7 @@ - name: Copy GeoIP.sh ansible.builtin.copy: src=GeoIP.sh dest=/var/named/GeoIP.sh mode=0755 notify: - - restart named + - Restart named tags: - config - dns @@ -53,14 +53,14 @@ # ansible.builtin.command: /var/named/GeoIP.sh # changed_when: "1 != 1" # notify: -# - restart named +# - Restart named # tags: # - dns - name: Copy update-dns ansible.builtin.copy: src=update-dns dest=/usr/local/bin/update-dns mode=0755 notify: - - restart named + - Restart named tags: - config - dns @@ -68,7 +68,7 @@ - name: Copy zones ansible.builtin.copy: src=zones.conf dest=/etc/named/zones.conf owner=root group=root mode=0644 notify: - - restart named + - Restart named tags: - config - dns @@ -76,7 +76,7 @@ - name: Copy named config ansible.builtin.copy: src=named.conf dest=/etc/named.conf mode=0644 owner=root group=root notify: - - restart named + - Restart named tags: - config - dns @@ -85,7 +85,7 @@ ansible.builtin.command: /usr/local/bin/update-dns changed_when: "1 != 1" notify: - - restart named + - Restart named tags: - config - dns @@ -114,7 +114,7 @@ ansible.builtin.command: semanage port -a -t dns_port_t -p tcp 8053 when: semanageoutput.stdout.find("8053") == -1 notify: - - restart named + - Restart named tags: - dns diff --git a/roles/docker-distribution/tasks/main.yml b/roles/docker-distribution/tasks/main.yml index 735d740065..347c1ba7e7 100644 --- a/roles/docker-distribution/tasks/main.yml +++ b/roles/docker-distribution/tasks/main.yml @@ -15,7 +15,7 @@ ansible.builtin.template: src: config.yml.j2 dest: "{{ conf_path }}" - notify: restart docker-distribution + notify: Restart docker-distribution tags: - docker-distribution diff --git a/roles/download/tasks/main.yml b/roles/download/tasks/main.yml index 6a9e89aa4c..2ce10f8b19 100644 --- a/roles/download/tasks/main.yml +++ b/roles/download/tasks/main.yml @@ -71,7 +71,7 @@ - config - sslciphers notify: - - reload httpd + - Reload httpd - 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 @@ -79,7 +79,7 @@ - httpd - config notify: - - reload httpd + - Reload httpd - name: Configure httpd dl sub conf ansible.builtin.copy: src=httpd/dl.fedoraproject.org/ dest=/etc/httpd/conf.d/dl.fedoraproject.org/ @@ -87,7 +87,7 @@ - httpd - config notify: - - reload httpd + - Reload httpd - name: Install haveged for entropy ansible.builtin.package: name=haveged state=present diff --git a/roles/easyfix/proxy/tasks/main.yml b/roles/easyfix/proxy/tasks/main.yml index e13856db27..fed46a9070 100644 --- a/roles/easyfix/proxy/tasks/main.yml +++ b/roles/easyfix/proxy/tasks/main.yml @@ -11,7 +11,7 @@ dest=/etc/httpd/conf.d/{{website}}/gather-easyfix.conf owner=root group=root mode=0644 notify: - - reload httpd + - Reload httpd tags: - easyfix - easyfix/proxy diff --git a/roles/fedmsg/base/tasks/main.yml b/roles/fedmsg/base/tasks/main.yml index bc8a1dab19..06b8654a22 100644 --- a/roles/fedmsg/base/tasks/main.yml +++ b/roles/fedmsg/base/tasks/main.yml @@ -93,11 +93,11 @@ - fedmsgdconfig - fedmsg/base notify: - - reload httpd - - restart fedmsg-gateway - - restart fedmsg-hub - - restart fedmsg-irc - - restart fedmsg-relay + - Reload httpd + - Restart fedmsg-gateway + - Restart fedmsg-hub + - Restart fedmsg-irc + - Restart fedmsg-relay - name: Dynamically generate policy from group/host vars. ansible.builtin.template: > @@ -115,11 +115,11 @@ - fedmsgdpolicy - fedmsg/base notify: - - reload httpd - - restart fedmsg-gateway - - restart fedmsg-hub - - restart fedmsg-irc - - restart fedmsg-relay + - Reload httpd + - Restart fedmsg-gateway + - Restart fedmsg-hub + - Restart fedmsg-irc + - Restart fedmsg-relay - name: Setup basic /etc/fedmsg.d/ contents for firewalled/external hosts ansible.builtin.template: > @@ -139,11 +139,11 @@ - fedmsgdconfig - fedmsg/base notify: - - reload httpd - - restart fedmsg-gateway - - restart fedmsg-hub - - restart fedmsg-irc - - restart fedmsg-relay + - Reload httpd + - Restart fedmsg-gateway + - Restart fedmsg-hub + - Restart fedmsg-irc + - Restart fedmsg-relay - name: Install fedmsg-relay in case we're in debug mode. ansible.builtin.package: name=fedmsg-relay state=present @@ -152,11 +152,11 @@ - fedmsg_loopback - fedmsg/base notify: - - reload httpd - - restart fedmsg-gateway - - restart fedmsg-hub - - restart fedmsg-irc - - restart fedmsg-relay + - Reload httpd + - Restart fedmsg-gateway + - Restart fedmsg-hub + - Restart fedmsg-irc + - Restart fedmsg-relay - name: Install fedmsg-relay in case we're in debug mode. dnf: name=fedmsg-relay state=present @@ -165,11 +165,11 @@ - fedmsg_loopback - fedmsg/base notify: - - reload httpd - - restart fedmsg-gateway - - restart fedmsg-hub - - restart fedmsg-irc - - restart fedmsg-relay + - Reload httpd + - Restart fedmsg-gateway + - Restart fedmsg-hub + - Restart fedmsg-irc + - Restart fedmsg-relay - name: Destroy standard config to make way for debug loopback. ansible.builtin.file: dest=/etc/fedmsg.d/{{item}} state=absent @@ -181,11 +181,11 @@ - fedmsg_loopback - fedmsg/base notify: - - reload httpd - - restart fedmsg-gateway - - restart fedmsg-hub - - restart fedmsg-irc - - restart fedmsg-relay + - Reload httpd + - Restart fedmsg-gateway + - Restart fedmsg-hub + - Restart fedmsg-irc + - Restart fedmsg-relay - name: Overwrite standard config with local fedmsg debugging loopback ansible.builtin.copy: src=relay-debug-loopback.py dest=/etc/fedmsg.d/relay.py @@ -194,11 +194,11 @@ - fedmsg_loopback - fedmsg/base notify: - - reload httpd - - restart fedmsg-gateway - - restart fedmsg-hub - - restart fedmsg-irc - - restart fedmsg-relay + - Reload httpd + - Restart fedmsg-gateway + - Restart fedmsg-hub + - Restart fedmsg-irc + - Restart fedmsg-relay - name: Start fedmsg-relay, only for loopback testing service: name=fedmsg-relay state=started diff --git a/roles/fedmsg/crl/tasks/main.yml b/roles/fedmsg/crl/tasks/main.yml index f92795adc7..77baba7fdb 100644 --- a/roles/fedmsg/crl/tasks/main.yml +++ b/roles/fedmsg/crl/tasks/main.yml @@ -38,7 +38,7 @@ dest=/etc/httpd/conf.d/{{website}}/fedmsg.conf owner=root group=root mode=0644 notify: - - reload httpd + - Reload httpd tags: - fedmsg - fedmsg/crl diff --git a/roles/fedmsg/gateway/slave/tasks/main.yml b/roles/fedmsg/gateway/slave/tasks/main.yml index 78e2c09528..1d0d4ad677 100644 --- a/roles/fedmsg/gateway/slave/tasks/main.yml +++ b/roles/fedmsg/gateway/slave/tasks/main.yml @@ -73,8 +73,8 @@ dest=/usr/lib/systemd/system/stunnel.service owner=root group=root mode=0644 notify: - - reload systemd - - restart stunnel + - Reload systemd + - Restart stunnel tags: - fedmsg/gateway - fedmsg/gateway/slave @@ -91,7 +91,7 @@ owner=root group=root mode=0600 with_items: - { file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf } - notify: restart stunnel + notify: Restart stunnel tags: - fedmsg/gateway - fedmsg/gateway/slave @@ -101,7 +101,7 @@ src={{private}}/files/httpd/wildcard-2024.fedoraproject.org.combined.cert dest=/etc/pki/tls/certs/wildcard-2024.fedoraproject.org.combined.cert owner=root group=root mode=0644 - notify: restart stunnel + notify: Restart stunnel tags: - fedmsg/gateway - fedmsg/gateway/slave diff --git a/roles/fedmsg/gateway/tasks/main.yml b/roles/fedmsg/gateway/tasks/main.yml index e105973b4f..c8cb9d1033 100644 --- a/roles/fedmsg/gateway/tasks/main.yml +++ b/roles/fedmsg/gateway/tasks/main.yml @@ -22,7 +22,7 @@ - config - fedmsg/gateway notify: - - restart fedmsg-gateway + - Restart fedmsg-gateway - name: Create systemd drop-in directory ansible.builtin.file: > @@ -39,7 +39,7 @@ - config - fedmsg/gateway notify: - - restart fedmsg-gateway + - Restart fedmsg-gateway - name: Enable on boot and start fedmsg-gateway service: diff --git a/roles/fedmsg/hub/tasks/main.yml b/roles/fedmsg/hub/tasks/main.yml index 60aa416029..840baf944b 100644 --- a/roles/fedmsg/hub/tasks/main.yml +++ b/roles/fedmsg/hub/tasks/main.yml @@ -32,12 +32,12 @@ - name: Enable the websocket server if we should ansible.builtin.copy: src=websockets.py dest=/etc/fedmsg.d/websockets.py when: enable_websocket_server - notify: restart fedmsg-hub + notify: Restart fedmsg-hub - name: Disable the websocket server if we should.. ansible.builtin.file: dest=/etc/fedmsg.d/websockets.py state=absent when: not enable_websocket_server - notify: restart fedmsg-hub + notify: Restart fedmsg-hub - name: Set fedmsg ownership on /var/run/fedmsg ansible.builtin.file: > @@ -68,7 +68,7 @@ - fedmsg-hub - fedmsg-hub-3 notify: - - reload systemd + - Reload systemd tags: - fedmsg/hub @@ -80,7 +80,7 @@ - fedmsg-hub - fedmsg-hub-3 notify: - - reload systemd - - restart fedmsg-hub + - Reload systemd + - Restart fedmsg-hub tags: - fedmsg/hub diff --git a/roles/fedmsg/irc/tasks/main.yml b/roles/fedmsg/irc/tasks/main.yml index ba26fd7f17..24efc7f87f 100644 --- a/roles/fedmsg/irc/tasks/main.yml +++ b/roles/fedmsg/irc/tasks/main.yml @@ -27,7 +27,7 @@ - config - fedmsg/irc notify: - - restart fedmsg-irc + - Restart fedmsg-irc - name: Setup fas credentials config file ansible.builtin.template: > @@ -40,7 +40,7 @@ - config - fedmsg/irc notify: - - restart fedmsg-irc + - Restart fedmsg-irc - name: Enable on boot and start fedmsg-irc service: name=fedmsg-irc state=started enabled=true diff --git a/roles/fedmsg/relay/tasks/main.yml b/roles/fedmsg/relay/tasks/main.yml index 30ae2c72e9..9590d2f854 100644 --- a/roles/fedmsg/relay/tasks/main.yml +++ b/roles/fedmsg/relay/tasks/main.yml @@ -33,7 +33,7 @@ - services - fedmsg/relay notify: - - restart fedmsg-relay + - Restart fedmsg-relay when: env != "staging" - name: Enable on boot and start fedmsg-relay @@ -42,5 +42,5 @@ - services - fedmsg/relay notify: - - restart fedmsg-relay + - Restart fedmsg-relay when: env == "staging" diff --git a/roles/fedora-budget/proxy/tasks/main.yml b/roles/fedora-budget/proxy/tasks/main.yml index 2492c84aca..188a93db60 100644 --- a/roles/fedora-budget/proxy/tasks/main.yml +++ b/roles/fedora-budget/proxy/tasks/main.yml @@ -21,7 +21,7 @@ - budget.conf - languages.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/budget diff --git a/roles/fedora-docs/proxy/tasks/main.yml b/roles/fedora-docs/proxy/tasks/main.yml index d922c56cf8..b689bf3fcd 100644 --- a/roles/fedora-docs/proxy/tasks/main.yml +++ b/roles/fedora-docs/proxy/tasks/main.yml @@ -38,7 +38,7 @@ - fedora-docs.conf - fedora-docs-old.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-docs - fedora-docs/proxy @@ -51,7 +51,7 @@ - fedora-docs.conf - fedora-docs-old.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-docs - fedora-docs/proxy diff --git a/roles/fedora-web/alt/tasks/main.yml b/roles/fedora-web/alt/tasks/main.yml index bba14c2fe3..fc7a56b972 100644 --- a/roles/fedora-web/alt/tasks/main.yml +++ b/roles/fedora-web/alt/tasks/main.yml @@ -13,7 +13,7 @@ - alt.conf - languages.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/alt diff --git a/roles/fedora-web/candidate-registry/tasks/main.yml b/roles/fedora-web/candidate-registry/tasks/main.yml index 7455d6f1bf..1acf328e36 100644 --- a/roles/fedora-web/candidate-registry/tasks/main.yml +++ b/roles/fedora-web/candidate-registry/tasks/main.yml @@ -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 owner=root group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/candidate-registry diff --git a/roles/fedora-web/codecs/tasks/main.yml b/roles/fedora-web/codecs/tasks/main.yml index 54fe507599..fd18858473 100644 --- a/roles/fedora-web/codecs/tasks/main.yml +++ b/roles/fedora-web/codecs/tasks/main.yml @@ -12,7 +12,7 @@ with_items: - codecs.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/codecs diff --git a/roles/fedora-web/community/tasks/main.yml b/roles/fedora-web/community/tasks/main.yml index 5e7583fe72..307a918f68 100644 --- a/roles/fedora-web/community/tasks/main.yml +++ b/roles/fedora-web/community/tasks/main.yml @@ -13,7 +13,7 @@ - fedoracommunity.org-web.conf - languages.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/community diff --git a/roles/fedora-web/fedora.im/tasks/main.yml b/roles/fedora-web/fedora.im/tasks/main.yml index 1220bddc00..bf2675f705 100644 --- a/roles/fedora-web/fedora.im/tasks/main.yml +++ b/roles/fedora-web/fedora.im/tasks/main.yml @@ -18,7 +18,7 @@ with_items: - matrix.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/fedora.im diff --git a/roles/fedora-web/flocktofedora/tasks/main.yml b/roles/fedora-web/flocktofedora/tasks/main.yml index 5619869e48..8b6e7e2a08 100644 --- a/roles/fedora-web/flocktofedora/tasks/main.yml +++ b/roles/fedora-web/flocktofedora/tasks/main.yml @@ -13,7 +13,7 @@ - flocktofedora.org.conf - languages.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/flocktofedora diff --git a/roles/fedora-web/getfedora/tasks/main.yml b/roles/fedora-web/getfedora/tasks/main.yml index b2c60db48e..af1d6e09f9 100644 --- a/roles/fedora-web/getfedora/tasks/main.yml +++ b/roles/fedora-web/getfedora/tasks/main.yml @@ -14,7 +14,7 @@ - languages.conf - csp.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/getfedora diff --git a/roles/fedora-web/iot/tasks/main.yml b/roles/fedora-web/iot/tasks/main.yml index ef1fea4953..ab447c639b 100644 --- a/roles/fedora-web/iot/tasks/main.yml +++ b/roles/fedora-web/iot/tasks/main.yml @@ -13,7 +13,7 @@ - iot.conf - languages.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/iot diff --git a/roles/fedora-web/labs/tasks/main.yml b/roles/fedora-web/labs/tasks/main.yml index ba95eeb2a4..2fba61fcaa 100644 --- a/roles/fedora-web/labs/tasks/main.yml +++ b/roles/fedora-web/labs/tasks/main.yml @@ -13,7 +13,7 @@ - labs.conf - languages.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/labs diff --git a/roles/fedora-web/main/tasks/main.yml b/roles/fedora-web/main/tasks/main.yml index bb26088382..0740f1f744 100644 --- a/roles/fedora-web/main/tasks/main.yml +++ b/roles/fedora-web/main/tasks/main.yml @@ -60,7 +60,7 @@ - matrix.conf - flathub-verified.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/main @@ -74,7 +74,7 @@ with_items: - 'sponsor.conf' notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/main @@ -111,7 +111,7 @@ src=browserid.fedoraproject.org dest=/srv/web/browserid.fedoraproject.org owner=root group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/main @@ -123,7 +123,7 @@ owner=root group=root mode=0644 when: env == "staging" notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/main @@ -135,7 +135,7 @@ owner=root group=root mode=0644 when: env != "staging" notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/main diff --git a/roles/fedora-web/mirrors/tasks/main.yml b/roles/fedora-web/mirrors/tasks/main.yml index 2c281da4dc..c548f67d04 100644 --- a/roles/fedora-web/mirrors/tasks/main.yml +++ b/roles/fedora-web/mirrors/tasks/main.yml @@ -12,7 +12,7 @@ with_items: - mirrors.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/mirrors diff --git a/roles/fedora-web/ols/tasks/main.yml b/roles/fedora-web/ols/tasks/main.yml index b549e83af5..63a7021cb0 100644 --- a/roles/fedora-web/ols/tasks/main.yml +++ b/roles/fedora-web/ols/tasks/main.yml @@ -6,7 +6,7 @@ with_items: - ols.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/ols diff --git a/roles/fedora-web/ostree/tasks/main.yml b/roles/fedora-web/ostree/tasks/main.yml index 041dd57616..98e2ad702e 100644 --- a/roles/fedora-web/ostree/tasks/main.yml +++ b/roles/fedora-web/ostree/tasks/main.yml @@ -2,7 +2,7 @@ - name: Copy ostree config file ansible.builtin.copy: src=ostree.conf dest=/etc/httpd/conf.d/ostree.fedoraproject.org/ostree.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - ostree diff --git a/roles/fedora-web/registry/tasks/main.yml b/roles/fedora-web/registry/tasks/main.yml index 11d133a7f9..ce0d9b355f 100644 --- a/roles/fedora-web/registry/tasks/main.yml +++ b/roles/fedora-web/registry/tasks/main.yml @@ -13,7 +13,7 @@ ansible.builtin.copy: src="{{ private }}/files/fedora-ca.cert" dest=/etc/pki/httpd/fedora-server-ca.cert owner=root group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/registry @@ -29,7 +29,7 @@ dest="/etc/pki/httpd/registry-ca-{{env}}.cert" owner=root group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/registry @@ -38,7 +38,7 @@ ansible.builtin.copy: src="passwd-{{env}}" dest=/etc/httpd/conf.d/registry.fedoraproject.org/passwd owner=root group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/registry diff --git a/roles/fedora-web/src/tasks/main.yml b/roles/fedora-web/src/tasks/main.yml index 314904f6d7..555dcfb5ea 100644 --- a/roles/fedora-web/src/tasks/main.yml +++ b/roles/fedora-web/src/tasks/main.yml @@ -4,7 +4,7 @@ ansible.builtin.package: name=mod_auth_gssapi state=present notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/src @@ -16,7 +16,7 @@ group=apache mode=0600 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/src @@ -28,7 +28,7 @@ with_items: - expires.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/src diff --git a/roles/fedora-web/start/tasks/main.yml b/roles/fedora-web/start/tasks/main.yml index 367d47991c..30a17edea9 100644 --- a/roles/fedora-web/start/tasks/main.yml +++ b/roles/fedora-web/start/tasks/main.yml @@ -13,7 +13,7 @@ - start-web.conf - languages.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedora-web - fedora-web/start diff --git a/roles/fedora_nightlies/handlers/main.yml b/roles/fedora_nightlies/handlers/main.yml index a2fb150a9f..3f718415a3 100644 --- a/roles/fedora_nightlies/handlers/main.yml +++ b/roles/fedora_nightlies/handlers/main.yml @@ -3,4 +3,4 @@ - name: Conditionally restart fedora_nightlies consumer service ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@fedora_nightlies listen: - - restart fedora_nightlies + - Restart fedora_nightlies diff --git a/roles/fedora_nightlies/tasks/main.yml b/roles/fedora_nightlies/tasks/main.yml index 279b68e5f6..66ee8c9462 100644 --- a/roles/fedora_nightlies/tasks/main.yml +++ b/roles/fedora_nightlies/tasks/main.yml @@ -101,7 +101,7 @@ ansible.builtin.command: "python3 -m pip install --no-deps /root/fedora_nightlies" when: "gitfn is changed or instfn.rc != 0" notify: - - restart fedora_nightlies + - Restart fedora_nightlies - name: Create /etc/pki/fedora-messaging ansible.builtin.file: @@ -145,7 +145,7 @@ - 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 notify: - - restart fedora_nightlies + - Restart fedora_nightlies tags: - config diff --git a/roles/fedoraloveskde/website/tasks/main.yml b/roles/fedoraloveskde/website/tasks/main.yml index da86e0b22e..d1ab06e6bb 100644 --- a/roles/fedoraloveskde/website/tasks/main.yml +++ b/roles/fedoraloveskde/website/tasks/main.yml @@ -18,6 +18,6 @@ with_items: - fedoraloveskde.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fedoraloveskde diff --git a/roles/freemedia/tasks/main.yml b/roles/freemedia/tasks/main.yml index 436c966a4c..cb115e690c 100644 --- a/roles/freemedia/tasks/main.yml +++ b/roles/freemedia/tasks/main.yml @@ -7,7 +7,7 @@ name: - php notify: - - reload httpd + - Reload httpd tags: - packages @@ -24,7 +24,7 @@ group=root mode=0644 notify: - - reload httpd + - Reload httpd tags: - config diff --git a/roles/geoip-city-wsgi/app/tasks/main.yml b/roles/geoip-city-wsgi/app/tasks/main.yml index ff56a6e36c..397ff0b997 100644 --- a/roles/geoip-city-wsgi/app/tasks/main.yml +++ b/roles/geoip-city-wsgi/app/tasks/main.yml @@ -33,7 +33,7 @@ group=root mode=0644 notify: - - reload httpd + - Reload httpd tags: - geoip_config - config @@ -61,7 +61,7 @@ group=root mode=0775 notify: - - reload httpd + - Reload httpd tags: - geoip_config - config diff --git a/roles/geoip-city-wsgi/proxy/tasks/main.yml b/roles/geoip-city-wsgi/proxy/tasks/main.yml index 4df2597f5d..f2a12fdb76 100644 --- a/roles/geoip-city-wsgi/proxy/tasks/main.yml +++ b/roles/geoip-city-wsgi/proxy/tasks/main.yml @@ -5,7 +5,7 @@ dest=/etc/httpd/conf.d/{{website}}/geoip-city-wsgi-proxy.conf owner=root group=root mode=0644 notify: - - reload httpd + - Reload httpd tags: - geoip-city-wsgi - geoip-city-wsgi/proxy diff --git a/roles/git/server/tasks/main.yml b/roles/git/server/tasks/main.yml index 2346d4260c..d5749b8713 100644 --- a/roles/git/server/tasks/main.yml +++ b/roles/git/server/tasks/main.yml @@ -46,4 +46,4 @@ when: ansible_distribution_major_version|int == 6 and ansible_distribution == 'RedHat' tags: git/server notify: - - restart xinetd + - Restart xinetd diff --git a/roles/github2fedmsg/tasks/main.yml b/roles/github2fedmsg/tasks/main.yml index 69c5ac5b5d..c873642f8c 100644 --- a/roles/github2fedmsg/tasks/main.yml +++ b/roles/github2fedmsg/tasks/main.yml @@ -30,7 +30,7 @@ - config - github2fedmsg notify: - - restart apache + - Restart apache - name: Copy github2fedmsg wsgi script ansible.builtin.copy: > @@ -42,7 +42,7 @@ - config - github2fedmsg notify: - - restart apache + - Restart apache - name: Copy github2fedmsg httpd config ansible.builtin.template: > @@ -54,7 +54,7 @@ - config - github2fedmsg notify: - - restart apache + - Restart apache - name: Hotfix - allow velruse to do stateless openid ansible.builtin.copy: > @@ -65,7 +65,7 @@ - hotfix - github2fedmsg notify: - - restart apache + - Restart apache # Fix for https://pagure.io/fedora-infrastructure/issue/11776 - name: Hotfix - Fix the KeyError when looking for user in github event @@ -76,7 +76,7 @@ - hotfix - github2fedmsg notify: - - restart apache + - Restart apache - name: Ensure selinux lets httpd talk to postgres seboolean: name=httpd_can_network_connect_db persistent=yes state=yes diff --git a/roles/haproxy/rewrite/tasks/main.yml b/roles/haproxy/rewrite/tasks/main.yml index ef8fa1f63b..0379167480 100644 --- a/roles/haproxy/rewrite/tasks/main.yml +++ b/roles/haproxy/rewrite/tasks/main.yml @@ -7,7 +7,7 @@ - ansible.builtin.template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf notify: - - reload httpd + - Reload httpd tags: - haproxy - haproxy/rewrite @@ -15,7 +15,7 @@ - ansible.builtin.template: src=rewrite.conf dest=/etc/httpd/conf.d/{{website}}/haproxy.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - haproxy - haproxy/rewrite diff --git a/roles/haproxy/tasks/main.yml b/roles/haproxy/tasks/main.yml index 5e20abc427..29b5de1258 100644 --- a/roles/haproxy/tasks/main.yml +++ b/roles/haproxy/tasks/main.yml @@ -17,7 +17,7 @@ with_items: - { file: haproxy.cfg, dest: /etc/haproxy/haproxy.cfg } notify: - - restart haproxy + - Restart haproxy tags: - haproxy diff --git a/roles/httpd/certificate/tasks/main.yml b/roles/httpd/certificate/tasks/main.yml index de5a503f28..5e15da484a 100644 --- a/roles/httpd/certificate/tasks/main.yml +++ b/roles/httpd/certificate/tasks/main.yml @@ -14,7 +14,7 @@ mode=0644 when: SSLCertificateChainFile is defined notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/certificate @@ -30,7 +30,7 @@ - "{{private}}/files/httpd/{{cert}}.cert" - "{{private}}/files/httpd/{{certname}}.cert" notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/certificate @@ -46,7 +46,7 @@ - "{{private}}/files/httpd/{{key}}.key" - "{{private}}/files/httpd/{{certname}}.key" notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/certificate diff --git a/roles/httpd/domainrewrite/tasks/main.yml b/roles/httpd/domainrewrite/tasks/main.yml index 99f4c87148..18c5e1d301 100644 --- a/roles/httpd/domainrewrite/tasks/main.yml +++ b/roles/httpd/domainrewrite/tasks/main.yml @@ -17,7 +17,7 @@ - "{{ roles_path }}/httpd/domainrewrite/templates/domainrewrite.{{destname}}.conf" - "{{ roles_path }}/httpd/domainrewrite/templates/domainrewrite.conf" notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/domainrewrite diff --git a/roles/httpd/fingerprints/tasks/main.yml b/roles/httpd/fingerprints/tasks/main.yml index b902a53bb1..811615b8cc 100644 --- a/roles/httpd/fingerprints/tasks/main.yml +++ b/roles/httpd/fingerprints/tasks/main.yml @@ -1,7 +1,7 @@ --- - ansible.builtin.copy: src=fingerprints.html dest=/srv/web/fingerprints.html notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fingerprints - httpd @@ -9,7 +9,7 @@ - ansible.builtin.copy: src=fingerprints.conf dest=/etc/httpd/conf.d/{{website}}/fingerprints.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - fingerprints - httpd diff --git a/roles/httpd/mime-type/tasks/main.yml b/roles/httpd/mime-type/tasks/main.yml index 7a3b57428a..8455d6ce35 100644 --- a/roles/httpd/mime-type/tasks/main.yml +++ b/roles/httpd/mime-type/tasks/main.yml @@ -3,7 +3,7 @@ src=mime-types.conf dest=/etc/httpd/conf.d/{{website}}/mime-types.conf owner=root group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/mime-type diff --git a/roles/httpd/mod_ssl/tasks/main.yml b/roles/httpd/mod_ssl/tasks/main.yml index 83bbb9b658..f7d81242e8 100644 --- a/roles/httpd/mod_ssl/tasks/main.yml +++ b/roles/httpd/mod_ssl/tasks/main.yml @@ -2,7 +2,7 @@ - name: Install mod_ssl ansible.builtin.package: name=mod_ssl state=present notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/mod_ssl @@ -15,7 +15,7 @@ group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/certificate diff --git a/roles/httpd/proxy/tasks/main.yml b/roles/httpd/proxy/tasks/main.yml index d09d6304b3..d623ba00cf 100644 --- a/roles/httpd/proxy/tasks/main.yml +++ b/roles/httpd/proxy/tasks/main.yml @@ -3,14 +3,14 @@ ansible.builtin.copy: src=/root/ticketkey_{{env}}.tkey dest=/etc/httpd/ticketkey_{{env}}.tkey owner=root group=root mode=0600 notify: - - reload proxyhttpd + - Reload proxyhttpd - name: Copy in the main httpd.conf file for proxy nodes ansible.builtin.template: > src=httpd.conf.j2 dest=/etc/httpd/conf/httpd.conf owner=root group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/proxy @@ -32,7 +32,7 @@ - 02-ticketkey.conf - 03-reqtimeout.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/proxy @@ -40,7 +40,7 @@ - name: Remove the keepalives configuration ansible.builtin.file: path=/etc/httpd/conf.d/01-keepalives.conf state=absent notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/proxy @@ -48,7 +48,7 @@ - name: Set the apache mpm to use event MPM ansible.builtin.copy: src=00-mpm.conf dest=/etc/httpd/conf.modules.d/00-mpm.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/proxy @@ -113,4 +113,4 @@ - httpd/proxy - httpdoverride notify: - - reload systemd + - Reload systemd diff --git a/roles/httpd/redirect/tasks/main.yml b/roles/httpd/redirect/tasks/main.yml index 5c097ed882..d54998d4b3 100644 --- a/roles/httpd/redirect/tasks/main.yml +++ b/roles/httpd/redirect/tasks/main.yml @@ -15,7 +15,7 @@ owner=root group=root notify: - - reload proxyhttpd + - Reload proxyhttpd with_first_found: - redirect.{{shortname}}.conf - redirect.conf diff --git a/roles/httpd/redirectmatch/tasks/main.yml b/roles/httpd/redirectmatch/tasks/main.yml index 5eee0d91c2..fe6fa146db 100644 --- a/roles/httpd/redirectmatch/tasks/main.yml +++ b/roles/httpd/redirectmatch/tasks/main.yml @@ -22,7 +22,7 @@ owner=root group=root notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/redirect diff --git a/roles/httpd/reverseproxy/tasks/main.yml b/roles/httpd/reverseproxy/tasks/main.yml index c2bafa89f8..6dbe7e333d 100644 --- a/roles/httpd/reverseproxy/tasks/main.yml +++ b/roles/httpd/reverseproxy/tasks/main.yml @@ -19,7 +19,7 @@ - "{{ roles_path }}/httpd/reverseproxy/templates/reversepassproxy.{{destname}}.conf" - "{{ roles_path }}/httpd/reverseproxy/templates/reversepassproxy.conf" notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/reverseproxy diff --git a/roles/httpd/website/tasks/main.yml b/roles/httpd/website/tasks/main.yml index e5dff455f8..e2f97b5cc5 100644 --- a/roles/httpd/website/tasks/main.yml +++ b/roles/httpd/website/tasks/main.yml @@ -17,7 +17,7 @@ group=root mode=0755 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/website @@ -37,7 +37,7 @@ group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/website @@ -56,7 +56,7 @@ - robots - securityheaders notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/website @@ -70,7 +70,7 @@ group=root mode=0755 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/website @@ -88,7 +88,7 @@ - robots/{{site_name}}-robots.txt - robots/robots.txt notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - httpd - httpd/website diff --git a/roles/ipa/client/tasks/hbac.yml b/roles/ipa/client/tasks/hbac.yml index 16c77b8129..f80a521bdb 100644 --- a/roles/ipa/client/tasks/hbac.yml +++ b/roles/ipa/client/tasks/hbac.yml @@ -14,7 +14,7 @@ state: present group: - sysadmin-main - notify: clean sss caches + notify: Clean sss caches no_log: true loop: "{{ ipa_servers }}" when: ipa_servers is defined @@ -25,7 +25,7 @@ name: "usergroup/sysadmin-main" ipaadmin_password: "{{ ipa_server_admin_passwords[item] }}" state: enabled - notify: clean sss caches + notify: Clean sss caches no_log: true loop: "{{ ipa_servers }}" when: ipa_servers is defined @@ -36,7 +36,7 @@ name: allow_all ipaadmin_password: "{{ ipa_server_admin_passwords[item] }}" state: disabled - notify: clean sss caches + notify: Clean sss caches no_log: true loop: "{{ ipa_servers }}" when: ipa_servers is defined @@ -55,7 +55,7 @@ usercategory: "all" hbacsvcgroup: - sudo - notify: clean sss caches + notify: Clean sss caches no_log: true loop: "{{ ipa_servers }}" when: ipa_servers is defined @@ -117,6 +117,6 @@ action: member state: present group: "{{ ipa_server_host_groups_dict[item[0]][item[1]]['shell_groups'] }}" - notify: clean sss caches + notify: Clean sss caches loop: "{{ ipa_server_host_groups }}" when: ipa_server_host_groups is defined and ipa_server_host_groups_dict[item[0]][item[1]]['shell_groups'] is defined diff --git a/roles/ipa/server/handlers/main.yml b/roles/ipa/server/handlers/main.yml index cdcb5eb097..ea9a56ab8b 100644 --- a/roles/ipa/server/handlers/main.yml +++ b/roles/ipa/server/handlers/main.yml @@ -1,3 +1,3 @@ --- -- name: restart ipa +- name: Restart ipa ansible.builtin.command: ipactl restart diff --git a/roles/ipa/server/tasks/main.yml b/roles/ipa/server/tasks/main.yml index a38ff22059..80721ffeb1 100644 --- a/roles/ipa/server/tasks/main.yml +++ b/roles/ipa/server/tasks/main.yml @@ -199,7 +199,7 @@ dest: /etc/httpd/conf.d/ipa-rewrite.conf mode: "0644" notify: - - reload httpd + - Reload httpd tags: - ipa/server - config @@ -216,7 +216,7 @@ changed_when: "'Disabling plugin' in output.stdout" failed_when: "'Plugin is already disabled' not in output.stdout and output.rc != 0" notify: - - restart ipa + - Restart ipa - name: Disable the nis tree ansible.builtin.shell: | @@ -229,7 +229,7 @@ changed_when: "'Disabling plugin' in output.stdout" failed_when: "'Plugin is already disabled' not in output.stdout and output.rc != 0" notify: - - restart ipa + - Restart ipa - name: Set the expiration date for the admin user community.general.ipa_user: @@ -741,7 +741,7 @@ dest: /etc/httpd/conf.d/referer-override.conf mode: "0644" notify: - - reload apache + - Reload apache tags: - ipa/server - config diff --git a/roles/ipa/server/tasks/scripts.yml b/roles/ipa/server/tasks/scripts.yml index eefe066910..5f6798ebe0 100644 --- a/roles/ipa/server/tasks/scripts.yml +++ b/roles/ipa/server/tasks/scripts.yml @@ -103,7 +103,7 @@ tags: - collectd - config - notify: restart collectd + notify: Restart collectd - name: Let collectd talk to the RabbitMQ management interface ansible.posix.seboolean: diff --git a/roles/ipsilon/tasks/main.yml b/roles/ipsilon/tasks/main.yml index cd67cd5b17..1b11fcc076 100644 --- a/roles/ipsilon/tasks/main.yml +++ b/roles/ipsilon/tasks/main.yml @@ -46,7 +46,7 @@ chdir: /opt/ipsilon-fedora when: git_update is changed notify: - - restart apache + - Restart apache tags: - ipsilon @@ -56,7 +56,7 @@ chdir: /opt/ipsilon-fedora creates: "{{ ansible_facts['python3']['sitelib'] }}/ipsilon/providers/openidc/plugins/account-scopes.py" notify: - - restart apache + - Restart apache tags: - ipsilon @@ -116,7 +116,7 @@ - ipsilon - config notify: - - restart apache + - Restart apache - name: Copy ipsilon admin configuration ansible.builtin.template: @@ -129,7 +129,7 @@ - ipsilon - config notify: - - restart apache + - Restart apache - name: Copy ipsilon OIDC client config ansible.builtin.copy: @@ -143,7 +143,7 @@ - config - oidc-config notify: - - restart apache + - Restart apache - name: Copy ipsilon httpd config ansible.builtin.template: @@ -153,7 +153,7 @@ - ipsilon - config notify: - - restart apache + - Restart apache - name: Copy OIDC private key ansible.builtin.copy: diff --git a/roles/ipsilon/tasks/patches.yml b/roles/ipsilon/tasks/patches.yml index a722ddfdfc..d28a40a327 100644 --- a/roles/ipsilon/tasks/patches.yml +++ b/roles/ipsilon/tasks/patches.yml @@ -28,4 +28,4 @@ - result.rc == 0 failed_when: "'FAILED' in result.stdout" notify: - - restart apache + - Restart apache diff --git a/roles/keepalived/tasks/main.yml b/roles/keepalived/tasks/main.yml index 8d6a864122..9af7bf6dd0 100644 --- a/roles/keepalived/tasks/main.yml +++ b/roles/keepalived/tasks/main.yml @@ -20,7 +20,7 @@ - config - keepalived notify: - - restart keepalived + - Restart keepalived - name: Install keepalived failover script for host (or default) ansible.builtin.copy: src={{ item }} dest=/usr/local/bin/keepalived-notify.sh mode=755 diff --git a/roles/kerneltest/tasks/main.yml b/roles/kerneltest/tasks/main.yml index 08131e01fd..99a5bf53eb 100644 --- a/roles/kerneltest/tasks/main.yml +++ b/roles/kerneltest/tasks/main.yml @@ -33,7 +33,7 @@ - config - kerneltest notify: - - restart apache + - Restart apache - name: Create the database scheme when: inventory_hostname.startswith('kerneltest01') diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml index b35f64a47b..e7c88b8cc0 100644 --- a/roles/koji_builder/tasks/main.yml +++ b/roles/koji_builder/tasks/main.yml @@ -189,7 +189,7 @@ - name: Override kojid.service file to set TasksMax to unlimited ansible.builtin.copy: src=kojid.service dest=/etc/systemd/system/kojid.service notify: - - reload systemd + - Reload systemd - Restart kojid tags: - koji_builder @@ -245,7 +245,7 @@ - name: Install libvirt/network.conf ansible.builtin.copy: src=network.conf dest=/etc/libvirt/network.conf notify: - - restart virtnetworkd + - Restart virtnetworkd tags: - koji_builder when: env != "staging" diff --git a/roles/koji_hub/tasks/main.yml b/roles/koji_hub/tasks/main.yml index 9a1c0545ad..be08590841 100644 --- a/roles/koji_hub/tasks/main.yml +++ b/roles/koji_hub/tasks/main.yml @@ -27,7 +27,7 @@ with_items: - koji-osbuild-hub notify: - - restart kojira + - Restart kojira tags: - packages - koji_hub @@ -48,7 +48,7 @@ - name: Fedmenu shim ansible.builtin.template: src=fedmenu-extra-footer.html dest=/usr/share/koji-web/static/extra-footer.html tags: koji_hub - notify: reload 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. @@ -58,7 +58,7 @@ - name: Set the apache mpm to use event MPM ansible.builtin.copy: src=00-mpm.conf dest=/etc/httpd/conf.modules.d/00-mpm.conf notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - config - koji_hub @@ -69,14 +69,14 @@ - config - koji_hub - koji_hub_osbuild - notify: reload httpd + notify: Reload httpd - name: Kojiweb config ansible.builtin.template: src=web.conf.j2 dest=/etc/kojiweb/web.conf owner=apache group=apache mode=600 tags: - config - koji_hub - notify: reload httpd + notify: Reload httpd - name: Enable httpd_can_network_connect SELinux boolean for fedmsg seboolean: name=httpd_can_network_connect state=yes persistent=yes @@ -177,7 +177,7 @@ - koji-fedoramessaging - python3-koji-fedoramessaging-messages notify: - - reload httpd + - Reload httpd tags: - packages - koji_hub @@ -231,7 +231,7 @@ copy: src={{ private }}/files/keytabs/{{ env }}/koji-hub-{{ koji_instance }} dest=/etc/koji-hub/koji-hub.keytab owner=apache group=apache mode=0600 notify: - - reload httpd + - Reload httpd when: env != 'staging' tags: - config @@ -241,7 +241,7 @@ ansible.builtin.copy: src={{ private }}/files/keytabs/{{ env }}/koji-gssapi-{{ koji_instance }} dest=/etc/koji-hub/gssapi.keytab owner=apache group=apache mode=0600 notify: - - reload httpd + - Reload httpd when: env != 'staging' tags: - config @@ -253,7 +253,7 @@ - name: Install kojiweb_cert_key.pem ansible.builtin.copy: src={{ private }}/files/koji/kojiweb_cert_key.pem dest=/etc/pki/tls/private/kojiweb_cert_key.pem owner=apache mode=600 notify: - - reload httpd + - Reload httpd tags: - config - koji_hub @@ -262,7 +262,7 @@ - name: Install production koji_cert.pem ansible.builtin.copy: src={{ private }}/files/koji/koji_cert.pem dest=/etc/pki/tls/certs/koji_cert.pem owner=apache mode=600 notify: - - reload httpd + - Reload httpd tags: - config - koji_hub @@ -271,7 +271,7 @@ - name: Install production koji_key.pem ansible.builtin.copy: src={{ private }}/files/koji/koji_key.pem dest=/etc/pki/tls/private/koji_key.pem owner=apache mode=600 notify: - - reload httpd + - Reload httpd tags: - config - koji_hub @@ -303,7 +303,7 @@ tags: - config - koji_hub - notify: reload httpd + notify: Reload httpd - name: Koji web hub specific config files ansible.builtin.template: src={{ item }}.j2 dest=/etc/httpd/conf.d/{{ item }} owner=root group=root @@ -313,14 +313,14 @@ tags: - config - koji_hub - notify: reload httpd + notify: Reload httpd - name: Koji web staging config files ansible.builtin.copy: src=kojiweb.conf.stg dest=/etc/httpd/conf.d/kojiweb-stg.conf owner=root group=root tags: - config - koji_hub - notify: reload httpd + notify: Reload httpd when: env == "staging" - name: Koji robots.txt config @@ -328,7 +328,7 @@ tags: - config - koji_hub - notify: reload httpd + notify: Reload httpd - name: Kojira log dir ansible.builtin.file: dest=/var/log/kojira owner=root group=root mode=0750 state=directory @@ -343,7 +343,7 @@ - config - koji_hub notify: - - restart kojira + - Restart kojira - name: Make an empty /mnt/fedora_koji for stg. ansible.builtin.file: state=directory path=/mnt/fedora_koji/koji owner=root group=root @@ -414,7 +414,7 @@ - name: Set httpd service override for fedora-messaging to work ansible.builtin.copy: src=httpd-override.conf dest=/etc/systemd/system/httpd.service.d/override.conf notify: - - reload httpd + - Reload httpd tags: - service - koji_hub @@ -424,7 +424,7 @@ service: name=httpd enabled=yes ignore_errors: true notify: - - reload httpd + - Reload httpd tags: - service - koji_hub diff --git a/roles/kojipkgs/tasks/main.yml b/roles/kojipkgs/tasks/main.yml index 4e1dbea1a6..66e97b58fb 100644 --- a/roles/kojipkgs/tasks/main.yml +++ b/roles/kojipkgs/tasks/main.yml @@ -9,7 +9,7 @@ with_items: - infrastructure.conf notify: - - reload httpd + - Reload httpd tags: - kojipkgs @@ -18,14 +18,14 @@ with_items: - kojipkgs.conf notify: - - reload 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: - - reload httpd + - Reload httpd tags: - kojipkgs @@ -51,7 +51,7 @@ ansible.builtin.copy: dest=/etc/systemd/system/varnish.service.d/restart-on-fail.conf src=restart-on-fail.conf notify: - - reload systemd - - reload varnish + - Reload systemd + - Reload varnish tags: - kojipkgs diff --git a/roles/letsencrypt/tasks/main.yml b/roles/letsencrypt/tasks/main.yml index b4944a6e48..bd9889ee6e 100644 --- a/roles/letsencrypt/tasks/main.yml +++ b/roles/letsencrypt/tasks/main.yml @@ -67,7 +67,7 @@ group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - letsencrypt @@ -79,7 +79,7 @@ group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - letsencrypt @@ -91,7 +91,7 @@ group=root mode=0600 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - letsencrypt @@ -103,7 +103,7 @@ group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - letsencrypt delegate_to: "{{ certbot_addhost }}" @@ -118,7 +118,7 @@ group=root mode=0644 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - letsencrypt delegate_to: "{{ certbot_addhost }}" @@ -133,7 +133,7 @@ group=root mode=0600 notify: - - reload proxyhttpd + - Reload proxyhttpd tags: - letsencrypt delegate_to: "{{ certbot_addhost }}" @@ -148,7 +148,7 @@ group=root mode=0644 notify: - - restart stunnel + - Restart stunnel tags: - letsencrypt delegate_to: "{{ certbot_bundlehost }}" diff --git a/roles/mailman3/tasks/main.yml b/roles/mailman3/tasks/main.yml index 5c0153fa15..433d05721f 100644 --- a/roles/mailman3/tasks/main.yml +++ b/roles/mailman3/tasks/main.yml @@ -261,7 +261,7 @@ tags: - mailman - hyperkitty - notify: handle static files + notify: Handle static files - name: Create the hyperkitty templates override dirs ansible.builtin.file: @@ -588,7 +588,7 @@ - webui-qcluster - webui-warm-up-cache notify: - - systemctl daemon-reload + - Systemctl daemon-reload tags: - config - mailman @@ -600,7 +600,7 @@ dest: "/etc/systemd/system/hyperkitty.target" mode: "0644" notify: - - systemctl daemon-reload + - Systemctl daemon-reload tags: - config - mailman @@ -620,7 +620,7 @@ - hyperkitty-weekly - hyperkitty-yearly notify: - - systemctl daemon-reload + - Systemctl daemon-reload tags: - config - mailman @@ -640,7 +640,7 @@ - hyperkitty-weekly - hyperkitty-yearly notify: - - systemctl daemon-reload + - Systemctl daemon-reload tags: - config - mailman @@ -655,7 +655,7 @@ with_items: - mailmanweb.conf notify: - - reload apache + - Reload apache tags: - config - httpd diff --git a/roles/mariadb_server/tasks/main.yml b/roles/mariadb_server/tasks/main.yml index 1ed569a107..c3e6bb26b5 100644 --- a/roles/mariadb_server/tasks/main.yml +++ b/roles/mariadb_server/tasks/main.yml @@ -25,7 +25,7 @@ - my.cnf.{{ ansible_distribution_version }} - my.cnf.default notify: - - restart mariadb + - Restart mariadb - name: Enable and start mariadb database service: name=mariadb enabled=yes state=started diff --git a/roles/mediawiki/tasks/main.yml b/roles/mediawiki/tasks/main.yml index b3600bcc4c..6cbf7904f5 100644 --- a/roles/mediawiki/tasks/main.yml +++ b/roles/mediawiki/tasks/main.yml @@ -161,14 +161,14 @@ - name: Install localsettings ansible.builtin.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: reload httpd + notify: Reload httpd tags: - mediawiki - localsettings - name: Httpd conf ansible.builtin.template: src=mediawiki-app.conf.j2 dest=/etc/httpd/conf.d/{{wikiname}}.conf - notify: reload httpd + notify: Reload httpd tags: - mediawiki diff --git a/roles/memcached/tasks/main.yml b/roles/memcached/tasks/main.yml index 5a3fb451c9..37440d3a21 100644 --- a/roles/memcached/tasks/main.yml +++ b/roles/memcached/tasks/main.yml @@ -8,7 +8,7 @@ - name: Setup memcached sysconfig ansible.builtin.template: src=memcached dest=/etc/sysconfig/memcached mode=644 notify: - - restart memcached + - Restart memcached tags: - config - memcached @@ -31,5 +31,5 @@ tags: - memcached notify: - - reload systemd + - Reload systemd when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int == 7 diff --git a/roles/mirror_pagure_ansible/tasks/main.yml b/roles/mirror_pagure_ansible/tasks/main.yml index d8ecfea0e2..c2215b0c44 100644 --- a/roles/mirror_pagure_ansible/tasks/main.yml +++ b/roles/mirror_pagure_ansible/tasks/main.yml @@ -110,7 +110,7 @@ group: root mode: "0755" notify: - - reload systemd + - Reload systemd tags: - config - mirror_pagure_ansible diff --git a/roles/mirrormanager/mirrorlist_proxy/tasks/main.yml b/roles/mirrormanager/mirrorlist_proxy/tasks/main.yml index 842c683699..6b4af22718 100644 --- a/roles/mirrormanager/mirrorlist_proxy/tasks/main.yml +++ b/roles/mirrormanager/mirrorlist_proxy/tasks/main.yml @@ -103,7 +103,7 @@ tags: - mirrorlist_proxy notify: - - reload systemd + - Reload systemd # enable both of them to run on boot - name: Enable mirrorlist1 diff --git a/roles/mod_wsgi/tasks/main.yml b/roles/mod_wsgi/tasks/main.yml index 2a1b9ae0ce..cea352bbed 100644 --- a/roles/mod_wsgi/tasks/main.yml +++ b/roles/mod_wsgi/tasks/main.yml @@ -27,6 +27,6 @@ - name: Wsgi.conf ansible.builtin.copy: src="wsgi.conf" dest=/etc/httpd/conf.d/wsgi.conf notify: - - restart apache + - Restart apache tags: - config diff --git a/roles/mote/tasks/main.yml b/roles/mote/tasks/main.yml index 965b85688c..442dd264b8 100644 --- a/roles/mote/tasks/main.yml +++ b/roles/mote/tasks/main.yml @@ -17,7 +17,7 @@ tags: - mote notify: - - restart memcached + - Restart memcached - name: Make systemd override dir ansible.builtin.file: @@ -36,8 +36,8 @@ tags: - mote notify: - - reload systemd - - restart memcached + - Reload systemd + - Restart memcached - meta: flush_handlers @@ -63,8 +63,8 @@ - config - mote notify: - - nuke mote json cache - - restart apache + - Nuke mote json cache + - Restart apache - name: Create /usr/share/httpd/.local for mote-updater to store the fedmsg CRL ansible.builtin.file: dest=/usr/share/httpd/.local owner=apache group=apache state=directory @@ -126,7 +126,7 @@ dest=/usr/share/mote/name_mappings.json setype=httpd_sys_content_t notify: - - nuke mote json cache + - Nuke mote json cache tags: - mote - selinux @@ -136,7 +136,7 @@ dest=/usr/share/mote/category_mappings.json setype=httpd_sys_content_t notify: - - nuke mote json cache + - Nuke mote json cache tags: - mote - selinux diff --git a/roles/nagios_server/tasks/main.yml b/roles/nagios_server/tasks/main.yml index b9447b2e67..23bc0fc716 100644 --- a/roles/nagios_server/tasks/main.yml +++ b/roles/nagios_server/tasks/main.yml @@ -153,7 +153,7 @@ tags: - nagios_config - nagios_server - notify: restart nagios + notify: Restart nagios ## Copy over the contacts - name: Copy /etc/nagios/contacts @@ -161,7 +161,7 @@ tags: - nagios_config - nagios_server - notify: restart nagios + notify: Restart nagios ## Copy over the contactgroups - name: Copy /etc/nagios/contactgroups @@ -169,7 +169,7 @@ tags: - nagios_config - nagios_server - notify: restart nagios + notify: Restart nagios ## Copy over the hosts - name: Copy /etc/nagios/hosts @@ -177,7 +177,7 @@ tags: - nagios_config - nagios_server - notify: restart nagios + notify: Restart nagios ## Copy over the services - name: Copy /etc/nagios/services (PHX2 specific files) @@ -199,7 +199,7 @@ - nagios_server - nagios_hostgroups when: env == "production" and nagios_location == 'iad2_internal' - notify: restart nagios + notify: Restart nagios - name: Copy /etc/nagios/services (IAD2 specific files) ansible.builtin.copy: src=nagios/services/iad2_internal/{{ item }} dest=/etc/nagios/services/{{ item }} @@ -221,7 +221,7 @@ - nagios_server - nagios_hostgroups when: env == "production" and nagios_location == 'iad2_internal' - notify: restart nagios + notify: Restart nagios - name: Copy /etc/nagios/services (internal files) ansible.builtin.copy: src=nagios/services/{{ item }} dest=/etc/nagios/services/{{ item }} @@ -248,7 +248,7 @@ - nagios_server - nagios_hostgroups when: env == "production" and nagios_location == 'iad2_internal' - notify: restart nagios + notify: Restart nagios ## Copy over the services - name: Copy /etc/nagios/services (External) @@ -262,7 +262,7 @@ - nagios_config - nagios_server when: env == "production" and nagios_location == "external" - notify: restart nagios + notify: Restart nagios ## Drop services we don't need - name: Nuke unneded services from /etc/nagios/services (External) @@ -273,7 +273,7 @@ - nagios_config - nagios_server when: env == "production" and nagios_location == "external" - notify: restart nagios + notify: Restart nagios ## Copy over the servicegroups - name: Copy /etc/nagios/servicegroups @@ -282,7 +282,7 @@ - nagios_config - nagios_server when: nagios_location == 'iad2_internal' - notify: restart nagios + notify: Restart nagios ## Copy over the servicegroups - name: Copy /etc/nagios/servicegroups @@ -297,7 +297,7 @@ - nagios_config - nagios_server when: nagios_location == "external" - notify: restart nagios + notify: Restart nagios ## Copy over the plugins - name: Copy plugins @@ -360,14 +360,14 @@ tags: - nagios_server - nagios_config - notify: restart nagios + notify: Restart nagios - name: Override config.inc.php for the given environment ansible.builtin.template: src=nagios/config.inc.php.j2 dest=/usr/share/nagios/html/config.inc.php mode=0640 owner=root group=apache tags: - nagios_server - nagios_config - notify: restart nagios + notify: Restart nagios - name: Template over plugins ansible.builtin.template: src=nagios/plugins/{{item}}.j2 dest=/usr/lib64/nagios/plugins/{{item}} mode=0755 owner=root group=root @@ -384,7 +384,7 @@ tags: - nagios_server - nagios_config - notify: restart nagios + notify: Restart nagios - name: Template over services (internal) ansible.builtin.template: src=nagios/services/{{item}}.j2 dest=/etc/nagios/services/{{item}} mode=0644 owner=root group=root @@ -395,7 +395,7 @@ tags: - nagios_server - nagios_config - notify: restart nagios + notify: Restart nagios - name: Template over services (both) ansible.builtin.template: src=nagios/services/{{item}}.j2 dest=/etc/nagios/services/{{item}} mode=0644 owner=root group=root @@ -406,7 +406,7 @@ - nagios_server - nagios_config - websites - notify: restart nagios + notify: Restart nagios - name: Build out nagios host templates (production) ansible.builtin.template: src=nagios/hosts/{{item}}.j2 dest=/etc/nagios/hosts/{{item}} mode=0644 owner=root group=root @@ -427,7 +427,7 @@ - nagios_server - nagios_config - nagios_hosts - notify: restart nagios + notify: Restart nagios ## These are only available to the internal server - name: Build out nagios host templates (production) @@ -441,7 +441,7 @@ - nagios_server - nagios_config - nagios_hosts - notify: restart nagios + notify: Restart nagios - name: Copy Matrix-Notify script ansible.builtin.template: src=nagios/scripts/matrix-notify.sh.j2 dest=/usr/local/bin/matrix-notify.sh mode=0750 owner=root group=nagios @@ -460,7 +460,7 @@ - nagios_server - nagios_config - nagios_hosts - notify: restart nagios + notify: Restart nagios - name: Build out nagios host templates (production) ansible.builtin.template: src=nagios/hosts/{{item}}.j2 dest=/etc/nagios/hosts/{{item}} mode=0644 owner=root group=root @@ -471,7 +471,7 @@ tags: - nagios_server - nagios_config - notify: restart nagios + notify: Restart nagios - name: Build out nagios hostgroup templates (iad2) ansible.builtin.template: src=nagios/hostgroups/{{item}}.j2 dest=/etc/nagios/hostgroups/{{item}} mode=0644 owner=root group=root @@ -487,7 +487,7 @@ - nagios_server - nagios_config - nagios_hostgroups - notify: restart nagios + notify: Restart nagios - name: Build out nagios hostgroup templates (external) ansible.builtin.template: src=nagios/hostgroups/{{item}}.j2 dest=/etc/nagios/hostgroups/{{item}} mode=0644 owner=root group=root @@ -498,7 +498,7 @@ - nagios_server - nagios_config - nagios_hostgroups - notify: restart nagios + notify: Restart nagios - name: Build out nagios services templates ansible.builtin.template: src=nagios/services/{{item}}.j2 dest=/etc/nagios/services/{{item}} mode=0644 owner=root group=root @@ -509,7 +509,7 @@ - nagios_server - nagios_config - nagios_services - notify: restart nagios + notify: Restart nagios ## Copy over the servicedeps diff --git a/roles/openqa/dispatcher/handlers/main.yml b/roles/openqa/dispatcher/handlers/main.yml index fa3329f7c2..722587c317 100644 --- a/roles/openqa/dispatcher/handlers/main.yml +++ b/roles/openqa/dispatcher/handlers/main.yml @@ -3,17 +3,17 @@ - name: Conditionally restart openQA scheduler consumer ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@fedora_openqa_scheduler listen: - - restart openqa consumers - - restart openqa scheduler consumer + - Restart openqa consumers + - Restart openqa scheduler consumer - name: Conditionally restart openQA ResultsDB reporter consumer ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@fedora_openqa_resultsdb_reporter listen: - - restart openqa consumers - - restart openqa resultsdb consumer + - Restart openqa consumers + - Restart openqa resultsdb consumer - name: Conditionally restart openQA wiki reporter consumer ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@fedora_openqa_wiki_reporter listen: - - restart openqa consumers - - restart openqa wiki consumer + - Restart openqa consumers + - Restart openqa wiki consumer diff --git a/roles/openqa/dispatcher/tasks/main.yml b/roles/openqa/dispatcher/tasks/main.yml index 5d7631d3e2..4022005767 100644 --- a/roles/openqa/dispatcher/tasks/main.yml +++ b/roles/openqa/dispatcher/tasks/main.yml @@ -224,7 +224,7 @@ ansible.builtin.command: "python3 -m pip install --no-deps /root/fedora_openqa" when: "gittools is changed or insttools.rc != 0" notify: - - restart openqa consumers + - Restart openqa consumers # FIXME: we should probably have the fedora-messaging consumers run as # someone other than root and then we'd need another token file for @@ -241,7 +241,7 @@ - name: Write schedule.conf ansible.builtin.template: src=schedule.conf.j2 dest=/etc/fedora-openqa/schedule.conf owner=root group=root mode=0600 notify: - - restart openqa consumers + - Restart openqa consumers tags: - config @@ -321,7 +321,7 @@ - name: Configure fedora-messaging scheduler ansible.builtin.template: src=fedora_openqa_scheduler.toml.j2 dest=/etc/fedora-messaging/fedora_openqa_scheduler.toml owner=root group=root mode=0640 notify: - - restart openqa scheduler consumer + - Restart openqa scheduler consumer when: "openqa_amqp_scheduler_queue is defined and openqa_amqp_scheduler_queue" tags: - config @@ -329,7 +329,7 @@ - name: Configure fedora-messaging wiki reporter ansible.builtin.template: src=fedora_openqa_wiki_reporter.toml.j2 dest=/etc/fedora-messaging/fedora_openqa_wiki_reporter.toml owner=root group=root mode=0640 notify: - - restart openqa wiki consumer + - Restart openqa wiki consumer when: "openqa_amqp_wiki_reporter_queue is defined and openqa_amqp_wiki_reporter_queue" tags: - config @@ -337,7 +337,7 @@ - name: Configure fedora-messaging ResultsDB reporter ansible.builtin.template: src=fedora_openqa_resultsdb_reporter.toml.j2 dest=/etc/fedora-messaging/fedora_openqa_resultsdb_reporter.toml owner=root group=root mode=0640 notify: - - restart openqa resultsdb consumer + - Restart openqa resultsdb consumer when: "openqa_amqp_resultsdb_reporter_queue is defined and openqa_amqp_resultsdb_reporter_queue" tags: - config diff --git a/roles/openqa/server/tasks/main.yml b/roles/openqa/server/tasks/main.yml index 5e314c9e40..1b41a13407 100644 --- a/roles/openqa/server/tasks/main.yml +++ b/roles/openqa/server/tasks/main.yml @@ -220,7 +220,7 @@ - name: Set up Apache config ansible.builtin.template: src=openqa.conf.httpd.j2 dest=/etc/httpd/conf.d/openqa.conf owner=root group=root mode=0644 notify: - - reload httpd + - Reload httpd tags: - config diff --git a/roles/openqa/worker/handlers/main.yml b/roles/openqa/worker/handlers/main.yml index 76e2042e6b..ce1e84a9b0 100644 --- a/roles/openqa/worker/handlers/main.yml +++ b/roles/openqa/worker/handlers/main.yml @@ -4,4 +4,4 @@ ansible.builtin.command: /usr/local/bin/conditional-restart.sh openqa-worker@{{ item }} loop: "{{ range(1, openqa_workers + 1)|list }}" listen: - - restart openqa workers + - Restart openqa workers diff --git a/roles/openqa/worker/tasks/main.yml b/roles/openqa/worker/tasks/main.yml index 2bcb27a449..8ffefabc7d 100644 --- a/roles/openqa/worker/tasks/main.yml +++ b/roles/openqa/worker/tasks/main.yml @@ -82,7 +82,7 @@ state: latest enablerepo: "{{ openqa_repo }}" notify: - - restart openqa workers + - Restart openqa workers tags: - packages @@ -207,7 +207,7 @@ - name: OpenQA worker config ansible.builtin.template: src=workers.ini.j2 dest=/etc/openqa/workers.ini owner=_openqa-worker group=root mode=0644 notify: - - restart openqa workers + - Restart openqa workers tags: - config diff --git a/roles/openvpn/base/tasks/main.yml b/roles/openvpn/base/tasks/main.yml index fb8ec3dee2..a9d29ac901 100644 --- a/roles/openvpn/base/tasks/main.yml +++ b/roles/openvpn/base/tasks/main.yml @@ -26,7 +26,7 @@ - install - openvpn # notify: - # - restart openvpn (Fedora) + # - Restart openvpn (Fedora) - name: Install certificate and key (rhel or fedora) for server ansible.builtin.copy: src={{ private }}/files/vpn/pki/ca.crt @@ -36,7 +36,7 @@ - install - openvpn # notify: - # - restart openvpn (Fedora) + # - Restart openvpn (Fedora) when: inventory_hostname.startswith('bastion0') - name: Install fix-routes.sh script diff --git a/roles/openvpn/client/tasks/main.yml b/roles/openvpn/client/tasks/main.yml index 2fd281e356..c157ad196f 100644 --- a/roles/openvpn/client/tasks/main.yml +++ b/roles/openvpn/client/tasks/main.yml @@ -18,7 +18,7 @@ - install - openvpn # notify: -# - restart openvpn (Fedora) +# - Restart openvpn (Fedora) - name: Install configuration files (rhel and fedora) ansible.builtin.copy: src={{ item.file }} @@ -35,7 +35,7 @@ - install - openvpn # notify: -# - restart openvpn (Fedora) +# - Restart openvpn (Fedora) - name: Make sure openvpn is running in rhel 8+ service: name=openvpn-client@openvpn state=started enabled=true diff --git a/roles/packages3/bugz.fp.o/tasks/main.yml b/roles/packages3/bugz.fp.o/tasks/main.yml index 1f174eabcf..6cecb0451a 100644 --- a/roles/packages3/bugz.fp.o/tasks/main.yml +++ b/roles/packages3/bugz.fp.o/tasks/main.yml @@ -3,7 +3,7 @@ src=bugz.conf dest=/etc/httpd/conf.d/{{website}}/bugz.conf owner=root group=root mode=0644 notify: - - reload httpd + - Reload httpd tags: - packages - packages/proxy diff --git a/roles/packages3/web/tasks/main.yml b/roles/packages3/web/tasks/main.yml index f023f31d4b..315aaaeb9a 100644 --- a/roles/packages3/web/tasks/main.yml +++ b/roles/packages3/web/tasks/main.yml @@ -39,8 +39,8 @@ dest=/etc/fedoracommunity/production.ini owner=apache group=fedmsg mode=0440 notify: - - reload httpd - - restart fedmsg-hub + - Reload httpd + - Restart fedmsg-hub tags: - packages - packages/web @@ -51,7 +51,7 @@ dest=/etc/httpd/conf.d/fedora-packages.conf owner=root group=root mode=644 notify: - - reload httpd + - Reload httpd tags: - packages - packages/web @@ -62,7 +62,7 @@ dest=/etc/fedmsg.d/fedoracommunity.py owner=root group=root mode=644 notify: - - restart fedmsg-hub + - Restart fedmsg-hub tags: - packages - packages/web @@ -87,8 +87,8 @@ dest="{{pythonsitelib}}/fedoracommunity/search/distmappings.py" owner=root group=root mode=0644 notify: - - reload httpd - - restart fedmsg-hub + - Reload httpd + - Restart fedmsg-hub tags: - packages - packages/web diff --git a/roles/pager_server/tasks/main.yml b/roles/pager_server/tasks/main.yml index 2935501ee2..c92a0896f6 100644 --- a/roles/pager_server/tasks/main.yml +++ b/roles/pager_server/tasks/main.yml @@ -2,7 +2,7 @@ - name: Setup pager app config ansible.builtin.copy: src=pager-app.conf dest=/etc/httpd/conf.d/pager-app.conf mode=644 notify: - - reload httpd + - Reload httpd tags: - config - pager_server diff --git a/roles/pagure/tasks/main.yml b/roles/pagure/tasks/main.yml index f0bb4cf1a6..20cafba44f 100644 --- a/roles/pagure/tasks/main.yml +++ b/roles/pagure/tasks/main.yml @@ -30,7 +30,7 @@ ansible.builtin.command: /usr/bin/postgresql-setup initdb creates=/var/lib/pgsql/data notify: - - restart postgresql + - Restart postgresql tags: - pagure @@ -207,8 +207,8 @@ - pagure - postfix notify: - - restart postfix - - restart pagure_milter + - Restart postfix + - Restart pagure_milter # Override pagure_ev systemd service file @@ -217,8 +217,8 @@ dest=/usr/lib/systemd/system/pagure_ev.service owner=root group=root mode=0644 notify: - - reload systemd - - restart pagure_ev + - Reload systemd + - Restart pagure_ev tags: - pagure - pagure_ev @@ -230,8 +230,8 @@ dest=/usr/lib/systemd/system/stunnel.service owner=root group=root mode=0644 notify: - - reload systemd - - restart stunnel + - Reload systemd + - Restart stunnel tags: - pagure - stunnel @@ -242,7 +242,7 @@ owner=root group=root mode=0600 with_items: - {file: stunnel-conf.j2, dest: /etc/stunnel/stunnel.conf} - notify: restart stunnel + notify: Restart stunnel tags: - pagure - stunnel @@ -258,7 +258,7 @@ - pagure_slow_worker - pagure_mirror notify: - - reload systemd + - Reload systemd tags: - pagure @@ -368,7 +368,7 @@ - web - pagure notify: - - restart apache + - Restart apache - name: Install client_secrets for ipsilon ansible.builtin.template: src=client_secrets.json @@ -401,7 +401,7 @@ - pagure - sslciphers notify: - - restart apache + - Restart apache - name: Install the wsgi file ansible.builtin.template: src={{ item }} @@ -415,7 +415,7 @@ - web - pagure notify: - - restart apache + - Restart apache - name: Let paguremirroring read the pagure config ansible.builtin.command: /usr/bin/setfacl -m user:paguremirroring:rx /etc/pagure/pagure.cfg @@ -456,7 +456,7 @@ - pagure - hotfix notify: - - restart pagure_ev + - Restart pagure_ev # Ensure all the services are up and running diff --git a/roles/pkgdb-proxy/tasks/main.yml b/roles/pkgdb-proxy/tasks/main.yml index 6e683d7e39..dacb6cf819 100644 --- a/roles/pkgdb-proxy/tasks/main.yml +++ b/roles/pkgdb-proxy/tasks/main.yml @@ -9,7 +9,7 @@ - name: Copy httpd config ansible.builtin.copy: src=pkgdb-gnome-software.conf dest=/etc/httpd/conf.d/admin.fedoraproject.org/pkgdb.conf owner=root group=root mode=755 notify: - - reload apache + - Reload apache tags: - gnome-software - pkgdb2 diff --git a/roles/postgresql_server/tasks/datanommer.yml b/roles/postgresql_server/tasks/datanommer.yml index 70fdac6557..0e5545cd81 100644 --- a/roles/postgresql_server/tasks/datanommer.yml +++ b/roles/postgresql_server/tasks/datanommer.yml @@ -15,7 +15,7 @@ regexp: ^shared_preload_libraries = line: "shared_preload_libraries = 'timescaledb'" notify: - - restart postgresql + - Restart postgresql tags: - datanommer - postgresql diff --git a/roles/postgresql_server/tasks/main.yml b/roles/postgresql_server/tasks/main.yml index f05bf40602..08b9b7b349 100644 --- a/roles/postgresql_server/tasks/main.yml +++ b/roles/postgresql_server/tasks/main.yml @@ -70,7 +70,7 @@ sysctl: name=kernel.shmmax value={{ kernel_shmmax }} when: kernel_shmmax is defined notify: - - restart postgresql + - Restart postgresql tags: - postgresql @@ -78,7 +78,7 @@ ansible.builtin.command: /usr/bin/postgresql-setup initdb creates=/var/lib/pgsql/data/postgresql.conf notify: - - restart postgresql + - Restart postgresql tags: - postgresql @@ -86,7 +86,7 @@ service: name=postgresql enabled=yes ignore_errors: true notify: - - restart postgresql + - Restart postgresql tags: - service - postgresql @@ -99,7 +99,7 @@ with_items: - pg_hba.conf notify: - - restart postgresql + - Restart postgresql tags: - config - postgresql @@ -108,7 +108,7 @@ ansible.builtin.template: dest=/var/lib/pgsql/data/postgresql.conf src=postgresql.conf when: ansible_distribution_major_version|int < 8 and ansible_distribution == 'RedHat' notify: - - restart postgresql + - Restart postgresql tags: - config - postgresql @@ -117,7 +117,7 @@ ansible.builtin.template: dest=/var/lib/pgsql/data/postgresql.conf src=postgresql.conf-12 when: (ansible_distribution_major_version|int == 8 and ansible_distribution == 'RedHat') or ansible_distribution != 'RedHat' notify: - - restart postgresql + - Restart postgresql tags: - config - postgresql @@ -126,7 +126,7 @@ ansible.builtin.template: dest=/var/lib/pgsql/data/postgresql.conf src=postgresql.conf-15 when: (ansible_distribution_major_version|int == 9 and ansible_distribution == 'RedHat') notify: - - restart postgresql + - Restart postgresql tags: - config - postgresql diff --git a/roles/rabbit/queue/handlers/main.yml b/roles/rabbit/queue/handlers/main.yml index 234d87a5e9..978e3ed49c 100644 --- a/roles/rabbit/queue/handlers/main.yml +++ b/roles/rabbit/queue/handlers/main.yml @@ -1,9 +1,9 @@ --- -- name: restart nagios on noc +- name: Restart nagios on noc ansible.builtin.shell: nagios -v /etc/nagios/nagios.cfg && systemctl restart nagios delegate_to: "{{ queue_nagios_server }}" -- name: restart nrpe on rabbitmq +- name: Restart nrpe on rabbitmq service: name: nrpe state: restarted diff --git a/roles/rabbit/queue/tasks/main.yml b/roles/rabbit/queue/tasks/main.yml index 801be99e5a..fe61c8a24e 100644 --- a/roles/rabbit/queue/tasks/main.yml +++ b/roles/rabbit/queue/tasks/main.yml @@ -107,7 +107,7 @@ owner: root group: root mode: "0644" - notify: restart nrpe on rabbitmq + notify: Restart nrpe on rabbitmq tags: - fedora-messaging - rabbitmq_cluster @@ -118,7 +118,7 @@ ansible.builtin.template: src: nagios.cfg.j2 dest: /etc/nagios/services/rabbitmq-queue-{{ queue_name }}.cfg -# notify: restart nagios on noc +# notify: Restart nagios on noc tags: - fedora-messaging - rabbitmq_cluster diff --git a/roles/rabbitmq_cluster/tasks/main.yml b/roles/rabbitmq_cluster/tasks/main.yml index a5e67605da..cb1507386e 100644 --- a/roles/rabbitmq_cluster/tasks/main.yml +++ b/roles/rabbitmq_cluster/tasks/main.yml @@ -71,7 +71,7 @@ - rabbitmq.config - rabbitmq-env.conf notify: - - restart rabbitmq + - Restart rabbitmq tags: - rabbitmq_cluster - config @@ -81,7 +81,7 @@ owner=rabbitmq group=rabbitmq mode=0400 when: "env == 'staging'" notify: - - restart rabbitmq + - Restart rabbitmq tags: - rabbitmq_cluster - config @@ -91,7 +91,7 @@ owner=rabbitmq group=rabbitmq mode=0400 when: "env == 'production'" notify: - - restart rabbitmq + - Restart rabbitmq tags: - rabbitmq_cluster - config @@ -109,7 +109,7 @@ content: "[Service]\nLimitNOFILE={{rabbitmq_cluster_file_limit}}\n" dest: /etc/systemd/system/rabbitmq-server.service.d/override.conf notify: - - restart rabbitmq + - Restart rabbitmq tags: - rabbitmq_cluster - config diff --git a/roles/releng/tasks/main.yml b/roles/releng/tasks/main.yml index f36b27684d..fa1bff8437 100644 --- a/roles/releng/tasks/main.yml +++ b/roles/releng/tasks/main.yml @@ -426,7 +426,7 @@ group: root mode: "644" notify: - - reload httpd + - Reload httpd tags: - config when: inventory_hostname.startswith('compose-x86-01') diff --git a/roles/relvalconsumer/handlers/main.yml b/roles/relvalconsumer/handlers/main.yml index 8d7f24cb1b..7823e69211 100644 --- a/roles/relvalconsumer/handlers/main.yml +++ b/roles/relvalconsumer/handlers/main.yml @@ -3,9 +3,9 @@ - name: Conditionally restart relvalconsumer consumer service ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@relvalconsumer listen: - - restart relvalconsumer + - Restart relvalconsumer - name: Conditionally restart relvalamiconsumer consumer service ansible.builtin.command: /usr/local/bin/conditional-restart.sh fm-consumer@relvalamiconsumer listen: - - restart relvalamiconsumer + - Restart relvalamiconsumer diff --git a/roles/relvalconsumer/tasks/main.yml b/roles/relvalconsumer/tasks/main.yml index c43f5dbadd..92df09e0ab 100644 --- a/roles/relvalconsumer/tasks/main.yml +++ b/roles/relvalconsumer/tasks/main.yml @@ -152,7 +152,7 @@ ansible.builtin.command: "python3 -m pip install --no-deps /root/relvalconsumer" when: "gitrvc is changed or instrvc.rc != 0" notify: - - restart relvalconsumer + - Restart relvalconsumer - name: Create /etc/pki/fedora-messaging ansible.builtin.file: @@ -214,14 +214,14 @@ - name: Configure fedora-messaging relvalconsumer ansible.builtin.template: src=relvalconsumer.toml.j2 dest=/etc/fedora-messaging/relvalconsumer.toml owner=root group=root mode=0640 notify: - - restart relvalconsumer + - Restart relvalconsumer tags: - config - name: Configure fedora-messaging relvalamiconsumer ansible.builtin.template: src=relvalamiconsumer.toml.j2 dest=/etc/fedora-messaging/relvalamiconsumer.toml owner=root group=root mode=0640 notify: - - restart relvalamiconsumer + - Restart relvalamiconsumer tags: - config diff --git a/roles/review-stats/proxy/tasks/main.yml b/roles/review-stats/proxy/tasks/main.yml index 57f9c5f87c..7350adff39 100644 --- a/roles/review-stats/proxy/tasks/main.yml +++ b/roles/review-stats/proxy/tasks/main.yml @@ -11,7 +11,7 @@ dest=/etc/httpd/conf.d/{{website}}/review-stats.conf owner=root group=root mode=0644 notify: - - reload httpd + - Reload httpd tags: - review-stats - review-stats/proxy diff --git a/roles/rkhunter/tasks/main.yml b/roles/rkhunter/tasks/main.yml index deda9afae5..0c45462e60 100644 --- a/roles/rkhunter/tasks/main.yml +++ b/roles/rkhunter/tasks/main.yml @@ -2,7 +2,7 @@ - name: Install rkhunter (dnf) ansible.builtin.package: name=rkhunter state=present notify: - - run rkhunter + - Run rkhunter tags: - rkhunter - packages @@ -10,7 +10,7 @@ - name: Rkhunter.conf ansible.builtin.template: src=rkhunter.conf.j2 dest=/etc/rkhunter.conf mode=0640 notify: - - run rkhunter + - Run rkhunter tags: - rkhunter - config @@ -18,7 +18,7 @@ - name: Rkhunter sysconfig ansible.builtin.copy: src=rkhunter.sysconfig dest=/etc/sysconfig/rkhunter mode=0640 notify: - - run rkhunter + - Run rkhunter tags: - rkhunter - config diff --git a/roles/robosignatory/tasks/main.yml b/roles/robosignatory/tasks/main.yml index 5582ad86c6..5fb142fed9 100644 --- a/roles/robosignatory/tasks/main.yml +++ b/roles/robosignatory/tasks/main.yml @@ -187,7 +187,7 @@ mode: "0644" when: env == 'staging' notify: - - reload systemd + - Reload systemd - Restart robosignatory tags: - config @@ -212,7 +212,7 @@ mode: "0755" when: env != 'staging' notify: - - reload systemd + - Reload systemd tags: - config - robosignatory @@ -226,7 +226,7 @@ mode: "0644" when: env != 'staging' notify: - - reload systemd + - Reload systemd tags: - config - robosignatory diff --git a/roles/rsyncd/tasks/main.yml b/roles/rsyncd/tasks/main.yml index b5030e9a9f..95fa89f538 100644 --- a/roles/rsyncd/tasks/main.yml +++ b/roles/rsyncd/tasks/main.yml @@ -72,7 +72,7 @@ - rsync.{{ rsync_group }} - rsync.default notify: - - restart xinetd + - Restart xinetd when: ansible_distribution_major_version|int < 9 and ansible_distribution == 'RedHat' tags: - config diff --git a/roles/security.txt/tasks/main.yml b/roles/security.txt/tasks/main.yml index 317a1e24fd..b3dd564521 100644 --- a/roles/security.txt/tasks/main.yml +++ b/roles/security.txt/tasks/main.yml @@ -8,6 +8,6 @@ - name: Copy httpd config ansible.builtin.copy: src=security-txt.conf dest=/etc/httpd/conf.d/admin.fedoraproject.org/security-txt.conf owner=root group=root mode=755 notify: - - reload apache + - Reload apache tags: - security.txt diff --git a/roles/smtp-auth-relay/tasks/main.yml b/roles/smtp-auth-relay/tasks/main.yml index c48cd20b60..e090844465 100644 --- a/roles/smtp-auth-relay/tasks/main.yml +++ b/roles/smtp-auth-relay/tasks/main.yml @@ -20,6 +20,6 @@ - name: Regenerate the password db file ansible.builtin.shell: postmap /etc/postfix/sasl_passwd when: smtp_relay_password_file.changed - notify: restart postfix + notify: Restart postfix tags: - smtp_auth_relay diff --git a/roles/spamassassin/tasks/main.yml b/roles/spamassassin/tasks/main.yml index 5a02738520..42d0adc00b 100644 --- a/roles/spamassassin/tasks/main.yml +++ b/roles/spamassassin/tasks/main.yml @@ -22,14 +22,14 @@ - name: Setup the sysconfig file ansible.builtin.copy: src=sysconfig dest=/etc/sysconfig/spamassassin notify: - - restart spamassassin + - Restart spamassassin tags: - config - name: Setup the config file ansible.builtin.copy: src=local.cf dest=/etc/mail/spamassassin/local.cf notify: - - restart spamassassin + - Restart spamassassin tags: - config diff --git a/roles/supybot/tasks/main.yml b/roles/supybot/tasks/main.yml index 0110bc205d..3c51322c55 100644 --- a/roles/supybot/tasks/main.yml +++ b/roles/supybot/tasks/main.yml @@ -166,7 +166,7 @@ ansible.builtin.copy: src=zodbot.service dest=/etc/systemd/system/zodbot.service when: env == "production" notify: - - reload systemd + - Reload systemd tags: - config - supybot @@ -182,7 +182,7 @@ ansible.builtin.copy: src=ursabot.service dest=/etc/systemd/system/ursabot.service when: env == "staging" notify: - - reload systemd + - Reload systemd tags: - config - supybot diff --git a/roles/testcase_stats/tasks/main.yml b/roles/testcase_stats/tasks/main.yml index 6d87217e3e..967d254310 100644 --- a/roles/testcase_stats/tasks/main.yml +++ b/roles/testcase_stats/tasks/main.yml @@ -35,6 +35,6 @@ - name: Set up Apache config ansible.builtin.copy: src=testcase_stats.conf.httpd dest=/etc/httpd/conf.d/01-testcase_stats.conf owner=root group=root mode=0644 notify: - - reload httpd + - Reload httpd tags: - config diff --git a/roles/testdays/tasks/main.yml b/roles/testdays/tasks/main.yml index 7d5d1c6bc8..322d3a11c7 100644 --- a/roles/testdays/tasks/main.yml +++ b/roles/testdays/tasks/main.yml @@ -25,9 +25,9 @@ - name: Generate testdays config ansible.builtin.template: src=settings.py.j2 dest=/etc/testdays/settings.py owner=root group=root mode=0644 notify: - - reload httpd + - Reload httpd - name: Generate testdays apache config ansible.builtin.template: src=testdays.conf.j2 dest=/etc/httpd/conf.d/testdays.conf owner=root group=root mode=0644 notify: - - reload httpd + - Reload httpd diff --git a/roles/varnish/tasks/main.yml b/roles/varnish/tasks/main.yml index ee1d42dcf8..3819a8a46b 100644 --- a/roles/varnish/tasks/main.yml +++ b/roles/varnish/tasks/main.yml @@ -25,8 +25,8 @@ - name: Install varnish /etc/systemd/system/varnish.service file (fedora 29+) ansible.builtin.template: src=varnish.f29.j2 dest=/etc/systemd/system/varnish.service owner=root group=root notify: - - reload systemd - - restart varnish + - Reload systemd + - Restart varnish tags: - varnish when: ansible_distribution_major_version|int >= 29 and ansible_distribution == 'Fedora' @@ -34,7 +34,7 @@ - name: Install /etc/varnish/default.vcl (proxies) ansible.builtin.template: src={{ varnish_group }}.vcl.j2 dest=/etc/varnish/default.vcl owner=root group=root notify: - - restart varnish + - Restart varnish tags: - varnish diff --git a/roles/zabbix/zabbix_agent/handlers/main.yml b/roles/zabbix/zabbix_agent/handlers/main.yml index 6b4602d19f..a0448dac71 100644 --- a/roles/zabbix/zabbix_agent/handlers/main.yml +++ b/roles/zabbix/zabbix_agent/handlers/main.yml @@ -1,7 +1,7 @@ --- -- name: restart_zabbix_agent +- name: Restart zabbix agent service: name=zabbix-agent state=restarted -- name: reload custom selinux files +- name: Reload custom selinux files ansible.builtin.shell: /usr/sbin/semodule -u "/etc/selinux/centos/centos-zabbix-agent.pp" when: ansible_selinux.mode == "enforcing" diff --git a/roles/zabbix/zabbix_agent/tasks/main.yml b/roles/zabbix/zabbix_agent/tasks/main.yml index 7cfabb36a6..c32742dd3b 100644 --- a/roles/zabbix/zabbix_agent/tasks/main.yml +++ b/roles/zabbix/zabbix_agent/tasks/main.yml @@ -60,7 +60,7 @@ ansible.builtin.template: src: zabbix_agentd.conf.j2 dest: "{{ zabbix_agentd }}" - notify: restart_zabbix_agent + notify: Restart zabbix agent tags: - zabbix_agent @@ -102,7 +102,7 @@ dest: "{{ zabbix_agentd_dir }}/{{ item }}" owner: zabbix mode: "0666" - notify: restart_zabbix_agent + notify: Restart zabbix agent with_items: - interface-alias.conf tags: diff --git a/tasks/openvpn_client.yml b/tasks/openvpn_client.yml index ce9758daaa..ee516252cd 100644 --- a/tasks/openvpn_client.yml +++ b/tasks/openvpn_client.yml @@ -10,35 +10,35 @@ tags: - config notify: - - restart openvpn + - Restart openvpn # - name: /etc/openvpn/crl.pem from vpn/openvpn/keys/crl.pem # ansible.builtin.copy: src="{{ private }}/vpn/openvpn/keys/crl.pem" dest=/etc/openvpn/crl.pem mode=0644 owner=root group=root # tags: # - config # notify: -# - restart openvpn +# - Restart openvpn - name: /etc/openvpn/openvpn.conf ansible.builtin.copy: src="{{ files }}/openvpn/client.conf" dest=/etc/openvpn/openvpn.conf tags: - config notify: - - restart openvpn + - Restart openvpn - name: /etc/openvpn/client.crt ansible.builtin.copy: src="{{ private }}/files/vpn/openvpn/keys/{{ inventory_hostname }}.crt" dest=/etc/openvpn/client.crt mode=0600 owner=root group=root tags: - config notify: - - restart openvpn + - Restart openvpn - name: /etc/openvpn/client.key ansible.builtin.copy: src="{{ private }}/files/vpn/openvpn/keys/{{ inventory_hostname }}.key" dest=/etc/openvpn/client.key mode=0600 owner=root group=root tags: - config notify: - - restart openvpn + - Restart openvpn - name: Enable openvpn service for rhel 6 service: name=openvpn state=started enabled=true diff --git a/tasks/openvpn_client_7.yml b/tasks/openvpn_client_7.yml index fe0e491c2c..25689555fc 100644 --- a/tasks/openvpn_client_7.yml +++ b/tasks/openvpn_client_7.yml @@ -10,35 +10,35 @@ tags: - config notify: - - restart openvpn 7 + - Restart openvpn 7 # - name: /etc/openvpn/crl.pem from vpn/openvpn/keys/crl.pem # ansible.builtin.copy: src="{{ private }}/vpn/openvpn/keys/crl.pem" dest=/etc/openvpn/crl.pem mode=0644 owner=root group=root # tags: # - config # notify: -# - restart openvpn +# - Restart openvpn - name: /etc/openvpn/openvpn.conf ansible.builtin.copy: src="{{ files }}/openvpn/client.conf" dest=/etc/openvpn/openvpn.conf tags: - config notify: - - restart openvpn 7 + - Restart openvpn 7 - name: /etc/openvpn/client.crt ansible.builtin.copy: src="{{ private }}/files/vpn/openvpn/keys/{{ inventory_hostname }}.crt" dest=/etc/openvpn/client.crt mode=0600 owner=root group=root tags: - config notify: - - restart openvpn 7 + - Restart openvpn 7 - name: /etc/openvpn/client.key ansible.builtin.copy: src="{{ private }}/files/vpn/openvpn/keys/{{ inventory_hostname }}.key" dest=/etc/openvpn/client.key mode=0600 owner=root group=root tags: - config notify: - - restart openvpn 7 + - Restart openvpn 7 - name: Enable openvpn service for rhel or fedora service: name=openvpn@openvpn state=started enabled=true diff --git a/tasks/postfix_basic.yml b/tasks/postfix_basic.yml index 5cf709c23c..68984d01bb 100644 --- a/tasks/postfix_basic.yml +++ b/tasks/postfix_basic.yml @@ -16,7 +16,7 @@ - "{{ roles_path }}/base/files/postfix/main.cf/main.cf.{{ datacenter }}" - "{{ roles_path }}/base/files/postfix/main.cf/main.cf" notify: - - restart postfix + - Restart postfix tags: - postfix - config diff --git a/tasks/swap.yml b/tasks/swap.yml index eabd5457dc..1411e0a7d7 100644 --- a/tasks/swap.yml +++ b/tasks/swap.yml @@ -76,7 +76,7 @@ tags: - swap.file.swapon - swap - notify: restart swap.swap + notify: Restart swap.swap - name: Remove zram-generator-defaults ansible.builtin.package: