Kevin Fenzi
2f687633fa
buildvm-a32 / dnf-automatic: try and get dnf automatic to not install non lpae kernels
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-08-03 09:56:56 -07:00
Kevin Fenzi
00057ef856
internetx02 enters the arena
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-31 21:51:07 -07:00
Kevin Fenzi
0ec6623ba6
pkgs / dnf automatic: exclude mod_auth_openidc-2.3.7-11.module+el8.6.0+14082+b6f23e95
...
This update seems to cause segfaults in https pushes.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-27 17:30:10 -07:00
Kevin Fenzi
2c060727f6
dnf-automatic / builders: don't allow dnf-automatic to upgrade git for now
...
git 2.35.3 broke buildSRPMFromSCM tasks, we want to downgrade back to
2.35.1 for now until it's fixed in koji.
See https://pagure.io/koji/issue/3351 and
https://pagure.io/fedora-infrastructure/issue/10677
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-09 22:32:02 +00:00
Kevin Fenzi
1c7838b25a
Add exclude on httpd for proxies to avoid upgrading to new buggy version.
...
Also, remove old armv7 entry thats no longer needed.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-20 18:19:38 -07:00
Pavel Raiskup
cc79e327dc
dnf-automatic: disable the makecache timer, not the service
...
Service can be unmasked, as long as nobody triggers it. If we do it the
other way arount, we see this every-time we log-in on F33+:
Last login: Fri Nov 13 09:15:56 2020 from 193.165.237.101
[systemd]
Failed Units: 1
dnf-makecache.timer
Which is:
systemctl status dnf-makecache.timer
...
...: dnf-makecache.timer: Failed to queue unit startup job: Unit dnf-makecache.service is masked.
...: dnf-makecache.timer: Failed with result 'resources'.
2020-11-16 16:02:20 +01:00
Kevin Fenzi
c5291dc402
dnf-automatic: disable updates repo on initial install.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +02:00
Kevin Fenzi
1ff61c5636
dnf-automatic: exclude the dnf stack from getting auto-updated by dnf-automatic.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:12 +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
d8f5db1213
dnf-automatic: do not update kernels on armv7 builders, security update or no security update.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-01 17:13:42 +00:00
Kevin Fenzi
43c318a288
dnf-automatic: stdout seems to always be defined, even if empty. Switch to looking at the return code.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-06 21:56:33 +00:00
Kevin Fenzi
135bc9837d
dnf-automatic: variables cannot use -
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-30 18:44:39 +00:00
Kevin Fenzi
9e2e121b25
dnf-automatic: just change to any stdout showing change as no change has no output.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-30 18:41:23 +00:00
Kevin Fenzi
fcd5b3da20
dnf-automatic: Add a check to make sure there is any stdout before looking at it.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-30 18:38:58 +00:00
Kevin Fenzi
82c3fba9b8
dnf-automatic: Change the way enabling dnf-automatic detects changes.
...
For some reason on some hosts it creates the wants in basic target and in others multi-user target,
so the creates won't work on all machines. Instead we just run it all the time and check the output
to see if it did something or not.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-12-30 18:35:31 +00:00
Kevin Fenzi
028181efb6
change the target for the creates call on dnf-automatic. Our hosts should be all multi-user, not basic
2018-12-20 22:08:21 +00:00
Kevin Fenzi
b925b48901
work around systemd/ansible bug for f29 and rawhide test machines
2018-09-11 18:13:41 +00:00
Kevin Fenzi
d8d79f7933
more adjusting to ansible not wanting | in when
2018-04-04 22:52:22 +00:00
Kevin Fenzi
236302efb4
disable dnf makecache timer on all fedora boxes
2017-12-07 20:51:19 +00:00
Kevin Fenzi
9fd11ac016
an ordering issue? really?
2017-03-17 21:37:21 +00:00
Kevin Fenzi
41f43d4b8f
fix more
2017-03-17 21:34:52 +00:00
Kevin Fenzi
d5e8e3a1d6
fix dnf-automatic role for f26
2017-03-17 21:21:38 +00:00
Kevin Fenzi
4f3501db0e
fix conditional
2017-02-28 00:34:23 +00:00
Kevin Fenzi
def29b08c7
because of course dnf-automatic changes in f26, why keep a stable interface
2017-02-28 00:29:27 +00:00
Kevin Fenzi
b1a2d105c9
In ansible 2.2 always_run is depreciated. Switch to check_mode.
2016-11-01 16:29:49 +00:00
Kevin Fenzi
6b86434251
Fix when clause to actually work.
2016-08-08 16:52:28 +00:00
Michael Scherer
5cce9c0030
Refactor the whole playbook in a block
...
Also switch the condition, since it is possible that
future EL version might use dnf, so checking on Fedora
distribution is less future-proof than using the pkg_mgr
from ansible.
2016-08-08 16:33:23 +00:00
Michael Scherer
186b357b48
Use pure yaml format for tasks
2016-08-08 16:33:17 +00:00
Michael Scherer
d5b93c4d50
Whitespace cleanup, make ansible-lint happy
2016-08-08 16:33:10 +00:00
Miroslav Suchý
15dabba643
run dnf-automatic only for recent Fedoras
...
copr-keygen is still on F21 and it fails there
2016-01-04 13:16:52 +01:00
Kevin Fenzi
196af16b23
I can speel. Really I can.
2015-12-08 18:53:51 +00:00
Kevin Fenzi
205b10441a
Also ignore errors here.
2015-12-08 18:52:06 +00:00
Kevin Fenzi
d36f2cfa79
Fix thinko
2015-12-08 18:50:24 +00:00
Kevin Fenzi
1fed3a1d2c
Rework logic to handle f22 systemd
2015-12-08 18:48:07 +00:00
Kevin Fenzi
dc6f14bd31
Create a dnf-automatic role, and switch taskotron/resultsdb dev to use it.
2015-12-08 18:38:40 +00:00