Files
fedora-infra_ansible/playbooks/include/proxies-miscellaneous.yml
Michal Konecny 2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

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

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

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

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00

65 lines
1.5 KiB
YAML

---
- name: Set up all the other proxy stuff -- miscellaneous
hosts: proxies_stg:proxies
user: root
gather_facts: true
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"
tasks:
# We retired this in favor of PDC
# https://lists.fedoraproject.org/archives/list/rel-eng@lists.fedoraproject.org/thread/LOWVTF6WTS43LNPWDEISLXUELXAH5YXR/#LOWVTF6WTS43LNPWDEISLXUELXAH5YXR
- ansible.builtin.file:
dest=/etc/httpd/conf.d/apps.fedoraproject.org/fedora-releng-dash.conf
state=absent
tags: releng-dash
notify: Reload proxyhttpd
roles:
- role: httpd/mime-type
website: fedoraproject.org
mimetype: image/vnd.microsoft.icon
extensions:
- .ico
- role: fedmsg/crl
website: fedoraproject.org
path: /fedmsg
when: env != "staging"
- role: fedmsg/gateway/slave
stunnel_service: "websockets"
stunnel_source_port: 9939
stunnel_destination_port: 9938
when: env != "staging"
- role: httpd/fingerprints
website: admin.fedoraproject.org
- role: easyfix/proxy
website: fedoraproject.org
path: /easyfix
- role: review-stats/proxy
website: fedoraproject.org
path: /PackageReviewStatus
- role: apps-fp-o
website: apps.fedoraproject.org
path: /
- role: pkgdb-proxy
tags:
- pkgdb2
- role: security.txt
tags:
- security.txt