copr-infra: setup root passwords

This is useful when trying to fix things like /etc/fstab
https://fosstodon.org/@praiskup/113557853677016655
This commit is contained in:
Pavel Raiskup 2024-11-29 09:41:23 +01:00
parent 527b9bba7e
commit f11eb65ffc
15 changed files with 49 additions and 18 deletions

View file

@ -55,12 +55,13 @@
# Roles are run first, before tasks, regardless of where you place them here.
roles:
- base
- nagios_client
- copr/backend
- role: messaging/base
when: copr_messaging
- role: rsnapshot-push
when: env == "production"
- role: log-detective-backup
when: env == "production"
- copr/pre
- base
- nagios_client
- copr/backend
- role: messaging/base
when: copr_messaging
- role: rsnapshot-push
when: env == "production"
- role: log-detective-backup
when: env == "production"

View file

@ -50,9 +50,10 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- nagios_client
- copr/dist_git
- copr/pre
- base
- nagios_client
- copr/dist_git
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"

View file

@ -50,6 +50,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- nagios_client
- copr/frontend
- copr/pre
- base
- nagios_client
- copr/frontend

View file

@ -84,9 +84,10 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
roles:
- base
- nagios_client
- copr/pulp
- copr/pre
- base
- nagios_client
- copr/pulp
- name: Use pulp_installer collection