Commit graph

934 commits

Author SHA1 Message Date
Pierre-Yves Chibon
daf7776a9d yumrepos: be RHEL7/CentOS7 compatible
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2021-03-30 14:36:04 +02:00
Nils Philippsen
280eebdcee tasks/yumrepos: cope with archived Fedora releases
We have some hosts that run on archived/EOL Fedora releases, their
repository URLs need to reflect that.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-19 15:22:21 +00:00
Miroslav Suchý
e20c1c2776 another typo of typo 2021-03-15 21:09:52 +01:00
Miroslav Suchý
07e8497012 another typo 2021-03-15 21:08:23 +01:00
Miroslav Suchý
70186a284b another typo 2021-03-15 21:05:27 +01:00
Miroslav Suchý
53dcd35255 typo 2021-03-15 21:03:08 +01:00
Miroslav Suchý
60239c0791 typo 2021-03-15 20:59:59 +01:00
Miroslav Suchý
e72f0a23a7 typo 2021-03-15 20:56:30 +01:00
Miroslav Suchý
6523edb25b use original epel repository in AWS datacenter 2021-03-15 20:53:40 +01:00
Stephen Smoogen
ec8c05f116 Fix tasks/postfix.yaml and roles/basic/tasks/postfix.yaml to match
Found the reason that the definitions I had put were not
working. There were two different ones and i was looking at the wrong
one. Put the two tasks with the same logic so things should work no
matter which one is run.
2021-02-17 19:17:50 -05: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
Miroslav Suchý
4acfcae34e use python3-libselinux 2021-01-19 10:09:54 +01:00
Miroslav Suchý
afa5c85b2f there is no ntpdate for el8+:x - use chrony 2021-01-19 10:06:27 +01: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
Mark O'Brien
de0c23e293 maintainer-test: remove f31 and el6 as they are EOL 2020-12-23 11:39:33 +00: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
Pavel Raiskup
9ec46957fd aws-cloud: clean up and try to fix batcave's host keys 2020-11-18 10:33:46 +01:00
Pavel Raiskup
f5f3c83104 aws-cloud: drop postfix hack
As we won't run the playbooks against IPs anymore.
2020-11-18 10:17:33 +01:00
Mark O'Brien
ac39a1bf35 add iptables as desired package 2020-11-13 16:29:48 +00:00
Pavel Raiskup
f351fe2d32 aws_cloud: pre-setup hostname early
To allow the initial postfix start:
Nov 11 10:38:33 107.20.83.139 postfix/sendmail[26023]: warning: valid_hostname: numeric hostname: 107.20.83.139
Nov 11 10:38:33 107.20.83.139 postfix/sendmail[26023]: fatal: unable to use my own hostname
Nov 11 10:38:33 107.20.83.139 postfix[26025]: warning: valid_hostname: numeric hostname: 107.20.83.139
Nov 11 10:38:33 107.20.83.139 postfix[26025]: fatal: unable to use my own hostname
2020-11-11 11:45:55 +01: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
fc0a3f5d2c tasks / cloud_setup_basic: drop duplicate when: clause 2020-08-07 11:51:48 -07:00
Mark O'Brien
d95a26b3e7 [maintainer-test] lets try update without creating the file 2020-07-24 11:21:44 +01:00
Kevin Fenzi
43b04c54f7 2fa_client: add tags so we can just run this by itself if needed.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-24 08:26:47 -07:00
Kevin Fenzi
a53ee8f7f7 openshift: repos: this is a template now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-11 15:14:11 -07: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
f5256442a3 iad2: also cast all these ansible_distribution_major_version to int
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 09:47:44 -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
b426783aa5 tasks: also re-add cloud_setup_basic
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-13 14:10:29 -07:00
Kevin Fenzi
bf72724c85 re-add tasks/persistent_cloud.yml as it is used by copr
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-13 14:08:37 -07:00
Kevin Fenzi
c529380547 Spring cleaning time. :)
I removed all the old files, inventory, playbooks, roles and other from
services we no longer run or use. There was a bunch of cruft in there
and I hope that will make the repo cleaner and easier to look for things
we actually do run and care about.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-13 14:02:41 -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
Pavel Raiskup
2a4698ee3a swap: make it idempotent
Call 'swapon -a' only when we just added the swap /etc/fstab entry.
2020-04-24 21:34:26 +02:00
Pavel Raiskup
f7c0971788 aws_cloud: don't skip facts gathering 2020-04-24 21:34:25 +02:00
Kevin Fenzi
dafe7b0e8c yumrepos: try and fix aws centos repos for aws
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Miroslav Suchý
03d18ee2f6 do not error on second run 2020-04-24 21:34:25 +02:00