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
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
Kevin Fenzi
3fbe452116
yumrepos: try and adjust for secondary/primary stuff.
...
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
Kevin Fenzi
5424ee4fa2
virt_instance_create: try python3 here.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
b23d6d295b
Revert "virt_instance_create: The emags use python3 here."
...
This reverts commit ca4ea658788af7902329620f6f98a680fc02f936.
2020-04-24 21:34:14 +02:00
Kevin Fenzi
fc5ea0b944
virt_instance_create: The emags use python3 here.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:14 +02:00
Kevin Fenzi
70a711c577
yumrepos: also install infra-tags repo on maintainer-test.
...
We removed it a while back because our local mock was causing problems, thats not the case anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:13 +02:00
Kevin Fenzi
31e67c36f2
cloud_setup_basic: Don't install libselinux-python here either.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:13 +02:00
Kevin Fenzi
86bfee4ab4
yumrepos: likewise clean up logic on base fedora repos and exclude rawhide test.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:13 +02:00
Kevin Fenzi
81b2f39d18
yumrepos: adjust logic for rawhide-test, shouldn't affect anything else.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:13 +02:00
Kevin Fenzi
df4d17f839
virt_instance_create: ansible_python_interperter should be a var
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
74c4fc2188
virt_instance_create: Try and use python2 for the virt_boot call since it's python2.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
c7a6e511dd
2fa_client : fix conditional, collapse into one.
2020-04-24 21:34:11 +02:00
Kevin Fenzi
81fb4582e7
ansible: change when conditions to use == instead of is when checking strings.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
c9ed62ac32
update ansible_distribution_major_version conditionals
...
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
Kevin Fenzi
9ab087bf8f
cloud-setup-basic: drop some unneeded things.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:09 +02:00
Pavel Raiskup
7ddd7caf1c
persistent_cloud: make volume mount task idempotent
2020-04-24 21:34:07 +02:00
Patrick Uiterwijk
3e8e4b94f2
Add pam_url config
...
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-05-24 00:05:03 +02:00
Kevin Fenzi
4b31ac5152
ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
...
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Kevin Fenzi
7f6b3a59dc
power9: add repos file to point to the right place and fix yumrepos to work with power9 hosts.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-03-22 04:36:31 +00:00
Adam Williamson
fa0355d808
Fix aarch64 server checks @kevin did yesterday
...
...two equals signs, Kevin. Two equals signs.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2019-01-18 09:21:53 -08:00
Kevin Fenzi
d92b8c9420
rhel8b virt install: comment removing old facts as then we can't use python3
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-01-17 22:18:40 +00:00
Kevin Fenzi
ce89504030
Revert "yum-repos: make the distro versions all cast to int, might be confusing this rhel8b deploy"
...
This reverts commit 7693c96b6b
.
2019-01-17 21:49:23 +00:00