Commit Graph

256 Commits

Author SHA1 Message Date
Stephen Smoogen
8611ab80ed put in proper checks like we have for other domains 2019-05-29 15:57:26 +00:00
Stephen Smoogen
1be05a2039 put in header checks postmap and restart 2019-05-29 14:59:43 +00:00
Kevin Fenzi
386d9a1d02 base/hosts: Clean up some depreciations.
koji_builder/sudo: Clean up some more depreciations.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-28 20:47:54 +00:00
Kevin Fenzi
984f012358 sundries/virthost/base: fix a nummber of cases of a variable being used as a boot (now a warning)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-18 00:00:15 +00:00
Kevin Fenzi
80f5658820 base: Fix syntax on dnf command, it should just be the name in this case
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-01 22:40:28 +00:00
Kevin Fenzi
4e51f101be base: Just change this to run on rhel7 and rhel6 only with yum. The next task works for fedora hosts.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-08 20:55:09 +00:00
Kevin Fenzi
fef0fcbc0e base: fix initial libselinux task to not run on python3 hosts as package: doesn't work there.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-08 20:51:14 +00:00
Kevin Fenzi
b6a8c7d5e5 base: only install policycoreutils-python-utils on f28+
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-04-05 22:42:43 +00:00
Kevin Fenzi
f7391dd3fa base: You cannot have two when: clauses, just switch to one of them.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-20 01:11:51 +00:00
Kevin Fenzi
b035dceff5 base/postfix: no need to make a hash here, regexp uses the normal file.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-13 18:21:25 +00:00
Kevin Fenzi
8cd9d8750b base/postfix: convert sender map to a regex so we can reject emails with two @'s in From.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-13 17:54:47 +00:00
Kevin Fenzi
df6ecb8a7d base: do not try and install the global set on rhel8 beta yet.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-12 22:25:16 +00:00
Kevin Fenzi
ec716db512 base: do not try and install old policycoreutils name on rhel8 beta
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-02-12 22:21:54 +00:00
Patrick Uiterwijk
697e09fe7e Do a sender_access for mailman as well
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2019-02-07 09:03:51 +00:00
Adam Williamson
a3f2af5a8c openqa: tweak qa01 ethernet config stuff a bit
Also, allow interface names starting with 'em' in the base
network stuff.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-12-14 19:05:20 -08:00
Stephen Smoogen
474d84d147 and we break more 2018-12-15 00:20:37 +00:00
Kevin Fenzi
7b10fb8967 remove stray name: 2018-12-13 16:14:17 +00:00
Miroslav Suchý
03aa9734f5 do not deploy rsyslog-audit.conf in cloud environment
addressing: https://pagure.io/fedora-infrastructure/issue/7438
2018-12-13 11:25:41 +01:00
Adam Williamson
2ad471f631 On second thoughts, let's have the quotes...
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-11-27 15:05:55 -08:00
Adam Williamson
e9f970c058 Try to correct broken 659650ef dnf loop fix
@msuchy was trying to do something good, here, but didn't get
it quite right - base_pkgs_inst and base_pkgs_erase are already
lists. I think this should be the right way to do it.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-11-27 15:03:46 -08:00
Miroslav Suchý
659650efb2 Invoking "dnf" only once while using a loop via squash_actions is deprecated.
addressing warning:
[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 `name: {{ item }}`, please use `name: [u'policycoreutils-python-utils']` 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.
2018-11-27 10:07:52 +01:00
Miroslav Suchý
6fd1dd674a Invoking "dnf" only once while using a loop via squash_actions is deprecated.
addressing warning:
[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 `name: {{ item }}`, please use `name: [u'policycoreutils-python-utils']` 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.
2018-11-27 10:04:39 +01:00
Miroslav Suchý
91c70c1c83 Invoking "dnf" only once while using a loop via squash_actions is deprecated.
addressing warning:
[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 `name: {{ item }}`, please use `name: [u'{{ global_pkgs_inst }}']` 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.
2018-11-27 09:53:10 +01:00
Kevin Fenzi
c731ace534 Revert this for now. 2018-06-29 22:35:13 +00:00
Kevin Fenzi
ab927fcd31 let us try this to add vmhost to cached facts 2018-06-29 22:21:06 +00:00
Kevin Fenzi
a8714caab3 first cut at changing all the old |changed to is changed per ansible deprecations 2018-05-07 23:51:48 +00:00
Kevin Fenzi
d55018a9d3 clean up more jenkins leftovers 2018-05-02 17:26:25 +00:00
Kevin Fenzi
eb4ec73246 one more 2018-04-16 17:07:50 +00:00
Kevin Fenzi
d0736f1658 another one 2018-04-16 17:03:57 +00:00
Kevin Fenzi
ee4bede73f we no longer seem to get this set on the aarch64 instances 2018-04-16 16:58:35 +00:00
Mikolaj Izdebski
2b6ac2ad14 Fix a typo in iptables-restore command 2018-04-09 15:16:59 +00:00
Kevin Fenzi
9fe41eca70 fix deprecated |success to is success 2018-04-04 19:24:21 +00:00
Kevin Fenzi
a9f5e8e78a update base rootpw role to not change some more releng machines that have had koji_builder added to them 2018-03-05 22:14:26 +00:00
Patrick Uiterwijk
840e608559 Add tags
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-02-22 22:03:33 +01:00
Patrick Uiterwijk
8de70bd9a0 Sorry, KCM, but please fix your bugs and we'll look again 2018-02-22 22:02:53 +01:00
Kevin Fenzi
9d1075e993 really it was a missing quote 2018-02-01 00:52:10 +00:00
Kevin Fenzi
859c75ba8d everyone loves parens 2018-02-01 00:49:27 +00:00
Kevin Fenzi
d3b961e767 simplify and comment on root pw setting 2018-02-01 00:31:55 +00:00
Kevin Fenzi
9239431b43 drop duplicate when: 2017-12-16 21:51:19 +00:00
Patrick Uiterwijk
c9817d2b47 Add selinux to allow map for pamdatabase from unix_chkpwd
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-12 15:42:02 +00:00
Kevin Fenzi
afef097a3d switch all the include tasks to import tasks 2017-10-17 17:37:03 +00:00
Kevin Fenzi
583f303946 we cannot use autoremove yet, it needs dnf 2 everywhere 2017-10-15 21:14:06 +00:00
Kevin Fenzi
ceff9bfca4 first stab at replacing include with include_playbook or includ_tasks 2017-10-15 19:46:08 +00:00
Kevin Fenzi
0425fd11b0 do not autoremove on base packages to remove 2017-10-15 18:26:17 +00:00
Kevin Fenzi
0067afe12f restart docker service on iptables reloads, and set docker to not restart containers on service restarts 2017-10-12 21:46:01 +00:00
Patrick Uiterwijk
936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02:00
Patrick Uiterwijk
adcbf72f03 Packageize this, packageize that, packageize the world
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
Patrick Uiterwijk
394cf40242 == True is not ideal
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 20:57:08 +00:00
Patrick Uiterwijk
d12cedc5d3 Allow NM-controlled DNS if intended
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-08-21 20:58:55 +00:00
Kevin Fenzi
06033a3b27 move this to a dep instead of including it 2017-08-19 17:13:49 +00:00