Commit Graph

39 Commits

Author SHA1 Message Date
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
James Antill
f74cd17a23 Add regexp to drop spaces from hostnames in prompts, for add_host.
Signed-off-by: James Antill <james@and.org>
2025-03-25 20:36:02 -04:00
James Antill
aa5691d1b5 Add regexp to drop spaces from hostnames in prompts.
Signed-off-by: James Antill <james@and.org>
2025-03-25 20:00:53 -04:00
Kevin Fenzi
7799cc2478 vhost_update: just revert the case issue until later
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-27 16:26:46 -08:00
Kevin Fenzi
043efd038b vhost_update: Changing the variable to be upper cased here seems to break / need renaming all the rest of them
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-27 16:16:20 -08:00
Ryan Lerch
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
Ryan Lerch
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Ryan Lerch
2cf38c1f17 [yaml-lint] fix yamllint errors and warnings on plabooks
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-25 19:04:25 +10:00
Kevin Fenzi
7fd4ed4c67 vhost_update: allow prompt to set targets for update / reboot
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-30 10:01:06 -07: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
Kevin Fenzi
3af126e186 virthost_updates: fix logic to not apply all updates when there are excludes
univrese_update: playbook to update all things in inventory.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-10 21:30:53 +00:00
Kevin Fenzi
1ff28544c1 vhost_update: add in some basic excludes handling
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-10 21:18:52 +00:00
Kevin Fenzi
5be0661c51 vhost_update: switch to package to call the right backend and fix other issues.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-09 19:13:01 +00:00
Kevin Fenzi
9fe41eca70 fix deprecated |success to is success 2018-04-04 19:24:21 +00:00
Kevin Fenzi
0353f1f6a2 fix up vhost_update to not swamp noc01 and cause unreachables 2018-04-04 19:20:34 +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
7c66e9b242 fix some depreciations and save a task with dnf 2016-09-21 21:03:04 +00:00
Kevin Fenzi
8365419d39 never fail the nagios task in vhost_update 2016-09-20 04:08:33 +00:00
Kevin Fenzi
04a52b8667 Death to all trailing whitespace. 2016-08-08 19:36:31 +00:00
Tim Flink
7afd3ec23d gathering facts for vhost_update so we choose yum/dnf 2015-10-06 20:34:34 +00:00
Tim Flink
aef03726b0 updating vhost_update playbook to handle f22+ dnf hosts 2015-10-06 20:10:56 +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
Ricky Elrod
c964999833 Remove from DNS/nagios for updates as well
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-03-11 17:02:08 +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
25dc54212b Set accelerate to false by default, override with -e acclerated=True for your playbook runs. 2014-05-19 15:22:24 +00:00
Stephen Smoogen
c165cf7746 Merge branch 'master' of /git/ansible
Conflicts:
	playbooks/vhost_update.yml
2013-11-22 22:11:49 +00:00
Stephen Smoogen
0e55c85cbf Ok this works for vhost08 2013-11-22 22:03:52 +00:00
Kevin Fenzi
04498829a1 Fix up for new syntax and make faster. 2013-11-21 21:37:43 +00:00
Kevin Fenzi
ff67503a15 Accel the update playbook 2013-09-30 18:15:41 +00:00
Ricky Elrod
d9e9338ad3 Revert "try quoting things with vars in them so they interpolate?"
This reverts commit 357208852e.
2013-07-29 19:58:20 +00:00
Ricky Elrod
357208852e try quoting things with vars in them so they interpolate? 2013-07-29 19:55:54 +00:00
Seth Vidal
28a68eec6c clean up some only_if's to make them 'when's and easier to read 2013-07-05 17:15:37 +00:00
Seth Vidal
a4f319d83d remove some old files
rename a bunch of places from '-' to '_'
2013-05-03 17:23:32 +00:00