Commit graph

968 commits

Author SHA1 Message Date
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
Miroslav Suchý
a103611658 this can be improved later 2020-04-24 21:34:25 +02:00
Miroslav Suchý
1c2cfed97a Revert "try this"
This reverts commit 68ff759fc4ec7bab9d305635bb37efba04efbbec.
2020-04-24 21:34:25 +02:00
Miroslav Suchý
f4049fd824 try this 2020-04-24 21:34:25 +02:00
Miroslav Suchý
f989ed90a0 try this 2020-04-24 21:34:25 +02:00
Miroslav Suchý
992b889d02 try this 2020-04-24 21:34:25 +02:00
Miroslav Suchý
02dd348fe1 do not report check as changed 2020-04-24 21:34:25 +02:00
Miroslav Suchý
19be5b46cb add task to create swap
This is mostly useful in AWS where swap does not exist and must be created manualy.
2020-04-24 21:34:25 +02:00
Mikolaj Izdebski
4aa2caa088 aws_cloud: import basessh role 2020-04-24 21:34:24 +02:00
Pavel Raiskup
7c98df7a75 aws_cloud: don't hack the keys more
This is done by basessh role.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
ae21353b07 copr-be-dev-aws: another try with birthday 2020-04-24 21:34:24 +02:00
Pavel Raiskup
d0e45f67fa aws_cloud: conditionalize things by birthday 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
68a1821b9b remove whitespace, it annoys me 2020-04-24 21:34:24 +02:00
Jakub Kadlcik
a78b7c92e1 copr: move iptables disabling directly to frontend role 2020-04-24 21:34:24 +02:00
Pavel Raiskup
f9934ce398 aws_cloud: don't run basessh role
It is done in cloud_setup_basic.yml.
2020-04-24 21:34:24 +02:00
Jakub Kadlcik
43c8acf835 copr: make sure iptables are disabled
For some reason they can be started even if

    baseiptables: False

maybe because the variable was initially set to True
and then switched to False, so the iptables were
already enabled.
2020-04-24 21:34:24 +02:00
Pavel Raiskup
f84a1ea988 cloud_setup_basic: unmask tmp.mount
Since we enable logrotate automatically on all infrastructure VMs (if
Fedora), it requires tmp.mount unmasked nowadays.
2020-04-24 21:34:24 +02:00