Kevin Fenzi
3211ff358e
vhost_reboot: update import_playbook calls to new syntax
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-19 09:53:27 -07:00
Kevin Fenzi
dbc52da487
vhost_reboot: disable ocp for now until we can sort it out
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-15 18:19:18 -07:00
Kevin Fenzi
9a26c66413
vhost_reboot: it is libvirt-sock, not libvirtd-sock
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-27 15:24:31 -07:00
Kevin Fenzi
1b4443a8ee
vhost_reboot: fix path
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-27 14:51:10 -07:00
Kevin Fenzi
1eeb585f74
vhost_reboot: adjust libvirt pid to libvirt socket
...
On newer libvirt there's no pid file, instead there's a socket that
listens and then the service is started. So, check that the socket is
there instead of looking for a broken pid file.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-27 14:27:55 -07:00
Kevin Fenzi
b1b0923af0
openshift 3.11: raise a glass!
...
Our openshift 3.11 cluster(s) served us long and well.
Now we have everything finally moved to the openshift 4 clusters (fas2
was the last holdout). We can finally retire this. :)
🎉 🥂
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-11-28 13:08:01 -08:00
Kevin Fenzi
a839211e9d
vhost_reboot: switch to usin virsh shutdown so we don't need ssh access
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-29 10:15:31 -07:00
Kevin Fenzi
b1f58ff99a
vhost_reboot: split out stg as we have no env_suffix available
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-29 09:55:51 -07:00
Kevin Fenzi
15e28e3fa7
vhost_reboot: try and handle ocp4 nodes
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-29 09:48:23 -07:00
Eddie Jennings, Jr
b53dc07292
Remove phx2 mention.
2021-06-10 15:07:38 +00:00
Kevin Fenzi
7984b46eb7
The great phx2 pruning run (1st cut).
...
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 14:14:31 -07:00
Stephen Smoogen
8762362a65
smooge missed phx2 openshift hard coding elsewhere
2020-05-31 13:33:53 -04:00
Stephen Smoogen
5227a23287
this will try to make it so that os cluster only drain to correct datacentre
2020-05-31 13:12:46 -04:00
Stephen Smoogen
7aedb805bb
Revert "[vhost_reboot] Try to get the os code to work"
...
This reverts commit 899a127f7ae1ffbbe935d45f640b9ac50e8d499c.
2020-04-24 21:34:20 +02:00
Stephen Smoogen
2b4c012300
[vhost_reboot] Try to get the os code to work
2020-04-24 21:34:20 +02:00
Kevin Fenzi
661626a454
vhost_reboot: when rebooting ipa or rabbitmq hosts, restart some services after they come up.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-21 15:56:08 +00:00
Rick Elrod
d9412f85e5
fix copypaste error in task name, we cordon first, then uncordon
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-04-10 23:28:03 +00:00
Rick Elrod
f26f4a9f3d
[vhost_reboot/os cordoning] take 2
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-04-10 23:18:57 +00:00
Rick Elrod
cda27a6d2f
Let's see if we can get os cordon/uncordon working even for os-master01
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2019-04-10 22:57:56 +00:00
Kevin Fenzi
78c41502a3
vhost_reboot: switch to using the new ansible 'reboot' module.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-09 17:51:02 +00:00
Patrick Uiterwijk
45e9dbcade
Also do draining for os-master nodes
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-02-27 22:55:32 +01:00
Stephen Smoogen
8317b78f65
time is not syncing
2018-11-06 21:22:45 +00:00
Stephen Smoogen
4a0499c6b8
remove the serverbeach tag
2018-11-06 21:22:14 +00:00
Rick Elrod
570d4c76d8
do some magic to get it to see the post-reboot vms as a group
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-10-03 03:34:03 +00:00
Rick Elrod
176c6cc6f9
another } - I am bad at this
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-10-03 03:22:55 +00:00
Rick Elrod
2724811555
}
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-10-03 03:21:59 +00:00
Rick Elrod
88644bac2f
add tasks: key
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-10-03 03:21:14 +00:00
Rick Elrod
fe33d75cbf
attempt to auto drain/re-add openshift nodes on vhost_reboot
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-10-03 02:25:47 +00:00
Kevin Fenzi
ca009a7d62
fix up includes in vhost_reboot playbook
2018-04-04 20:07:08 +00:00
Patrick Uiterwijk
24d7d693c3
Only reboot running vms
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-01-05 12:25:32 +00:00
Kevin Fenzi
36af79bb1d
use include here for now
2017-12-05 02:31:23 +00:00
Kevin Fenzi
afef097a3d
switch all the include tasks to import tasks
2017-10-17 17:37:03 +00:00
Kevin Fenzi
ceff9bfca4
first stab at replacing include with include_playbook or includ_tasks
2017-10-15 19:46:08 +00:00
Kevin Fenzi
0acfaa2a7e
Fix handlers, roles, and tasks to be handlers_path, roles_path and tasks_path so as not to conflict with ansible variables.
...
Fix duplicate definition of become default that was in group_vars/all as well as vars/global.
2017-04-13 15:46:14 +00:00
Stephen Smoogen
6bbb48acca
You know the very powerful and the very stupid have one thing in common. They don't alter their views to fit the facts. They alter the facts to fit the views. Which can be uncomfortable if you happen to be one of the facts that needs altering.
2017-01-24 20:00:30 +00:00
Kevin Fenzi
a2d4dc50ec
fix vhost_reboot playbook syntax
2016-11-29 01:45:38 +00:00
Kevin Fenzi
04a52b8667
Death to all trailing whitespace.
2016-08-08 19:36:31 +00:00
Kevin Fenzi
610869ab80
Rework vhost_reboot so that ansible 2.0 likes it.
2015-12-15 20:25:54 +00:00
Kevin Fenzi
15e5e56f03
Fix these reboot playbooks for ntp too
2015-08-31 16:35:06 +00:00
Kevin Fenzi
74b1bcc53f
Disable dns include for now and fix up some more nonagios conditionals
2015-07-23 21:10:04 +00:00
Kevin Fenzi
059638a80f
Try and fix optional conditionals on vhost_update/reboot playbooks
2015-07-23 20:17:24 +00:00
Patrick Uiterwijk
0e638a8f37
Fix nonagios and nodns when they're not the last argument
2015-07-22 22:00:23 +00:00
Patrick Uiterwijk
09ab03b308
Add nonagios to update and reboot playbooks
2015-07-22 21:52:37 +00:00
Patrick Uiterwijk
79e7986e5d
Add a nodns option to disable dns editing during update/reboot
2015-07-22 21:44:26 +00:00
Ralph Bean
5a1017b916
Try to fix all our nagios downtime/uptime toggles.
2015-05-04 14:38:03 +00:00
Ralph Bean
42215ae7f5
Call this "proxies" instead of "target" to get around --extra-vars precedence.
2014-12-16 00:59:35 +00:00
Ralph Bean
02816cef3c
So, myvms_new is not a var. It's a real (if temporary) group.
2014-12-16 00:36:59 +00:00
Ralph Bean
f0975bfb68
Include update-proxy-dns in vhost_reboot.yml.
2014-12-15 21:36:50 +00:00
Ralph Bean
1e49aa493d
Remove all accelerate-mode knobs and toggles now that pipelining is a go.
2014-11-12 19:15:06 +00:00
Kevin Fenzi
7d18051528
Add a nagios unsush to reboot playbook
2014-10-01 01:53:33 +00:00