1
0
Fork 0
forked from infra/ansible
infra-ansible/playbooks/vhost_update_reboot.yml
James Antill 41f6c05954 vhost_update_reboot: Add comments for mainers.
Signed-off-by: James Antill <james@and.org>
2026-03-24 15:27:46 -04:00

20 lines
835 B
YAML

---
# You can use: --extra-vars="target=blah.fp.o" to skip the prompts.
#
# You _might_ decide that --limit looks cleaner and you use that a lot already,
# so you can "tweak" the playbooks to use it instead. You would be wrong.
# Then you might decide to ask AI how to do it, and it'll give you an answer
# but you'll still be wrong.
#
# Note that someone probably wants to run:
# ansible/scripts/dnf-update-y.sh
# ...before an outage.
# NOTE: that rebooting more than one vmhost at once isn't
# easily safe, because some vmhost will want another to be up while they reboot.
#
# Also:
# ansible ... 'staging:!copr*:!openqa*:!ocp*:!worker*'
# could be used for staging, but it's not that big.
- import_playbook: /srv/web/infra/ansible/playbooks/vhost_update.yml
- import_playbook: /srv/web/infra/ansible/playbooks/vhost_reboot.yml