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
Jakub Kadlcik
234ac60c3b
copr: actually, use baseiptables variable to disable iptables
2020-04-24 21:34:24 +02:00
Jakub Kadlcik
1e5692ce9b
stopping iptables probably isn't enough, let's mask it
2020-04-24 21:34:24 +02:00
Jakub Kadlcik
e7c0bc201e
disable iptables in aws, we have security groups
2020-04-24 21:34:24 +02:00
Pavel Raiskup
450688a699
aws_cloud.yml: more python3/fedora hacks
2020-04-24 21:34:23 +02:00
Pavel Raiskup
38b299509a
aws_cloud.yml: rely on python3 for now
2020-04-24 21:34:23 +02:00
Pavel Raiskup
99db42b520
aws_cloud.yml: install python-libselinux, not libselinux-python
2020-04-24 21:34:23 +02:00
Pavel Raiskup
7d30662023
copr: add aws_cloud.yml task replacing persistent_cloud.yml
...
And use it in copr-backend.yml playbook.
2020-04-24 21:34:23 +02:00
Miroslav Suchý
c96b973b60
remove deprecation warning
...
addressing:
TASK [Install desired extra packages (dnf)] *********************************************************************************************
Friday 14 February 2020 14:03:04 +0000 (0:00:00.062) 0:00:12.297 *******
[DEPRECATION WARNING]: Invoking "dnf" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `pkg: "{{ item }}"`, please use `pkg: ['ntpdate', 'libselinux-python']` and remove the loop. This feature
will be removed in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
2020-04-24 21:34:23 +02:00
Miroslav Suchý
d2ce8afd46
do not modify fedora*.repo when deploying in AWS
2020-04-24 21:34:23 +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
Miroslav Suchý
264ddd3306
add tag, without a tag this load is skipped when using -t config
2020-04-24 21:34:19 +02:00
Miroslav Suchý
b46e36ec41
include all/vars only once
...
and there is no need to load it in every playbook in pre_tasks
2020-04-24 21:34:19 +02:00