1
0
Fork 0
forked from infra/ansible

vhost_update_reboot: Add comments for mainers.

Signed-off-by: James Antill <james@and.org>
This commit is contained in:
James Antill 2026-03-24 15:27:46 -04:00
commit 41f6c05954
3 changed files with 15 additions and 4 deletions

View file

@ -1,7 +1,8 @@
#
# This playbook lets you safely reboot a virthost and all it's guests.
#
# requires --extra-vars="target=somevhost fqdn"
# You can use: --extra-vars="target=blah.fp.o" to skip the prompt.
#
# Might add nodns=true or nonagios=true to the extra vars
# General overview:

View file

@ -1,6 +1,7 @@
# This playboook updates a virthost and all it's guests.
#
# requires --extra-vars="target=somevhostname yumcommand=update"
# You can use: --extra-vars="target=blah.fp.o" to skip the prompt.
#
# Might add nodns=true or nonagios=true at extra-vars
#

View file

@ -1,8 +1,17 @@
---
# 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 -m shell -a 'dnf --refresh -y update; (rkhunter --propupd || true)' 'all:!copr*:!openqa*:!ocp*:!worker*'
# ...during an outage. Note that doing more than one vmhost at once isn't
# 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.