Commit Graph

24 Commits

Author SHA1 Message Date
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