Commit graph

120 commits

Author SHA1 Message Date
3c41882bb0 ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
Replaces references to shell: with ansible.builtin.shell

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

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +10:00
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
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +10:00
Kevin Fenzi
6524d745d2 virt_instance_create: drop python3 handling
We don't have any python2 using virthosts left (except one)
so lets try dropping this special handling here and just let ansible
sort out that it should use python3.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-02 10:50:20 -07:00
Kevin Fenzi
c84b99223c osbs: raise a glass for it's service
This removes osbs and allmost all it's associated playbooks and files.

It served long and well, but we no longer need it.
flatpaks are building with a koji-flatpak plugin.
base/minimal/toolbox containers are building with kiwi.
We aren't building any other containers right now, and we did they could
be added to kiwi.

This is the end of an era... I look with nostolga on
ansible-ansible-openshift-ansible (a role to setup ansible on a control
host and run it from our ansible).

Good bye osbs!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-28 12:52:07 -07:00
Kevin Fenzi
68c5eaebea virt-instance-create: drop old non efi armv7 stuff
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-25 14:17:29 -07:00
Kevin Fenzi
ac2ea4030c switch to efi armv7 in prod
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-24 18:04:03 -07:00
Kevin Fenzi
fe31b7dadb tasks / virt-inst-create: don't setup direct kernel boot in stg for 32bit arm
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-03 16:40:57 -08:00
Kevin Fenzi
59a84365da Also use direct kernel boot in prod again too.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-25 11:26:21 -08:00
Kevin Fenzi
c308c08b1b Revert "virt instance create: switch stg back to uefi"
This reverts commit a691aac113.
2021-01-24 19:24:22 -08:00
Kevin Fenzi
a691aac113 virt instance create: switch stg back to uefi
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-24 19:05:28 -08:00
Kevin Fenzi
ca8b9ad361 Revert "Revert "virt instance create: put old armv7 install setup back in stg""
This reverts commit 4cb77b2966.

Take it back out, seems to make no difference if it's uefi or not.
2021-01-24 17:51:17 -08:00
Kevin Fenzi
4cb77b2966 Revert "virt instance create: put old armv7 install setup back in stg"
This reverts commit a34ef07de9.
2021-01-24 14:39:46 -08:00
Kevin Fenzi
a34ef07de9 virt instance create: put old armv7 install setup back in stg
Will re-install a bulder without uefi and see if that matters any for
our memory management woes.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-24 10:44:13 -08:00
Kevin Fenzi
babf36a356 buildvm / aarch64/armv7: simplify host vars, drop armv7 special tasks in create, set group vars for f33 on all arm buildvms
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-01-18 14:46:55 -08:00
Kevin Fenzi
b6415b23cb Revert "tasks / virt_instance_create: revert back to old armv7 setup in stg to test"
This reverts commit 9277590da5.
2021-01-18 12:16:18 -08:00
Kevin Fenzi
9277590da5 tasks / virt_instance_create: revert back to old armv7 setup in stg to test
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-11-18 16:34:43 -08:00
Kevin Fenzi
694727083a buildvm / fedora 33 / staging: try and switch armv7 vm's over to f33/uefi
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-11-04 14:51:09 -08:00
Kevin Fenzi
197f8aa1db Revert "virt_instance_create: try without this"
This reverts commit e92d1d070e.
2020-06-07 10:50:04 -07:00
Kevin Fenzi
e92d1d070e virt_instance_create: try without this
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-07 10:45:23 -07:00
Kevin Fenzi
e535322b1f Revert "Lets try not dropping ansible_python from cache"
This reverts commit d7735d5eb7.
2020-06-07 10:19:09 -07:00
Kevin Fenzi
2f81e76657 iad2: adjust a bunch of things that were delegating directly to phx2 hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 12:54:59 -07:00
Kevin Fenzi
4f2e616ad2 iad2: we renamed the armv7 builders, so we have to adjust all these places too
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 12:12:56 -07:00
Kevin Fenzi
d7735d5eb7 Lets try not dropping ansible_python from cache
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 10:23:32 -07:00
Kevin Fenzi
2696acca96 virt_instance_create: seems we cannot cast lvm size to int, as we use units in a number of host vars. 😭
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-24 10:46:14 -07:00
Kevin Fenzi
dbe5a90e8f virt_instance_create: cast the lv size to int to avoid a warning.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-23 10:27:27 -07:00
Kevin Fenzi
bcf21953f0 virt-instance-create: fix missing ) typo
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:27 +02:00
Kevin Fenzi
c3e8e088e4 first cut at adding armv7-test instances
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:27 +02:00
Kevin Fenzi
13d5177ce4 virt_instance_create: drop duplicate facts dropping and add a new task to gather at the end.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:20 +02:00
Kevin Fenzi
47421b9dd6 revert this back to python3.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
4b79a0f2ae virt-instance-create: move this back to python2 long enough to install buildvm-armv7-01.stg on a old moonshot cart and then revert it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
78223d74be virt_instance_create: try and remove facts cache for new vms again now that we hopefully have the python autodetect working more or less
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:18 +02:00
Kevin Fenzi
e18670cf00 virt-instance-create: try this since the other isn't cached.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
6cc64cbff1 virt-instance-create: The variable should be a variable too.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
e398046ebb virt-instance-create: this is a var
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
95e0ad16d9 virt-instance-create: try and get this to use the vmhost python, not the vm
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
Kevin Fenzi
9d1e6bf031 virt_instance_create: make sure to wipe the facts cache if we are (re)installing the guest
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:16 +02:00
Rick Elrod
2a90d25c7b Revert "one more attempt at a "small" hack before I go all out"
This reverts commit 32c4ddd306bbca2e0315d2f0c1205ea8a3f19d8b.
2020-04-24 21:34:15 +02:00
Rick Elrod
626dff9ec3 one more attempt at a "small" hack before I go all out
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
7c2274b851 undo all that
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
bb74f4d89b trying more sillyness to try to bust the cache here
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
1bff4950f3 wait a second
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
e4a8e812e2 what if I set it to something completely whacky?
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
f804fb2746 hardcode this for a sec, just to see
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
142017e95a try another hack
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Rick Elrod
e500af0b27 try setting ansible_python_interpreter to !!null
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
0475be45de virt_instance_create: try and gather facts after virt instance is created...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
ffc0163b32 Revert "armv7 create: move back to python2 and hope it works again."
This reverts commit f2591ca94c98799ce7b52328172dac8c150ca261.
2020-04-24 21:34:15 +02:00
Kevin Fenzi
0d50e06b94 armv7 create: move back to python2 and hope it works again.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00