forked from infra/ansible
vhost_update_reboot: Add comments for mainers.
Signed-off-by: James Antill <james@and.org>
This commit is contained in:
parent
276556a4fb
commit
41f6c05954
3 changed files with 15 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
#
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue