1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-11 00:06:07 +02:00
infrastructure/playbooks/tasks/upgrade-servers.yml
Evangelos Foutras 902704364f
tasks/upgrade-servers: exclude bugs.archlinux.org
Its php7 package can easily break from library upgrades like ICU.
2023-07-20 20:17:13 +03:00

37 lines
1.0 KiB
YAML

- name: Upgrade, reboot and health-check accounts.archlinux.org
hosts: accounts.archlinux.org
max_fail_percentage: 0
gather_facts: false
tasks:
- name: Upgrade and reboot
include_tasks: include/upgrade-server.yml
- name: Wait for Keycloak to become available
uri: url=https://{{ inventory_hostname }}/metrics
register: result
until: result.status == 200
# retry for 5 minutes after boot
retries: 30
delay: 10
- name: Upgrade and reboot all hetzner servers
hosts: all,!accounts.archlinux.org,!bugs.archlinux.org,!kape_servers,!equinix_metal
max_fail_percentage: 0
serial: 20%
gather_facts: false
tasks:
- name: Upgrade each host in this batch
include_tasks: include/upgrade-server.yml
- name: Upgrade and reboot all Kape and Equinix Metal servers
hosts: kape_servers,equinix_metal
max_fail_percentage: 0
serial: 1
gather_facts: false
tasks:
- name: Upgrade each host in this batch
include_tasks: include/upgrade-server.yml