Commit Graph

32 Commits

Author SHA1 Message Date
Michal Konecny
2ec055db6f Use first uppercase letter for all handlers
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.

I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```

Then I went through all the changes and removed the ones that wasn't
expected to be changed.

Fixes https://pagure.io/fedora-infrastructure/issue/12391

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-10 20:31:49 +00:00
Ryan Lerch
47c68f478d ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
Replaces references to template: with ansible.builtin.template

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:30:29 +10:00
Ryan Lerch
25391e95b7 ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
Replaces many references to  package: with ansible.builtin.package

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:28:00 +10:00
Ryan Lerch
691adee6ee Fix name[casing] ansible-lint issues
fix 1900 failures of the following case issue:

`name[casing]: All names should start with an uppercase letter.`

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-14 20:20:07 +10:00
Stephen Smoogen
432a3a497b Go through and remove entries for EL6 and EL7
Using `git grep el6` and `git grep el7` and variants like EL-7 or
el-7, I found various entries and files which were no longer needed
with the current ansible. I updated text or tests to later versions of
RHEL as needed.

found entries for the fedora ami's for the original cloud and removed
those entries also.

Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
2024-07-03 22:20:30 +00:00
Kevin Fenzi
5ac17bc51a varnish: adjust for f33 changes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-11-10 12:20:50 -08:00
Kevin Fenzi
bfcaa2ff94 varnish: don't specify libsemanage-python, we install it (or python3-libsemanage) in base.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +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
Kevin Fenzi
a562b8a3f8 ansible_distribution_version: address FIXME's/review tweaks.
download: mod_limitipconn isn't used anyone, dropped the entire line.
transient_cloud: just dropped the dnf part and use 'package' entirely.
sshd_config: UsePrivilegeSeparation isn't used in Fedora at all.
koji_hub: no fedora or rhel8 hubs yet, so just 7 is fine for now.
openvpn: changes look ok
packages3: Should get cverna to review, packages is using fedora now.
varnish: no rhel8 varnish servers yet.

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
d84fa33451 varnish: Just override the entire service file with ours
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-21 23:07:09 +00:00
Kevin Fenzi
6ca42be5fc varnish: setup override file in correct directory
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-21 23:01:48 +00:00
Mikolaj Izdebski
43c0f009cc systemd should be reloaded whenever varnish.service override changes 2018-11-30 08:07:40 +00:00
Mikolaj Izdebski
22ec01c0f5 Port varnish role to Fedora 29
From varnish changelog:

- varnish.params is gone. To override startup configuration,
  use /etc/systemd/system/varnish.service
2018-11-30 07:51:55 +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
039b08354a Yum allowed state=installed. Lets use state=present consistently
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:31:03 +00:00
Kevin Fenzi
579f598dc1 add libsemanage-python here in case it was not installed 2017-04-27 20:46:32 +00:00
Kevin Fenzi
9bc9a4065d add varnish config for buildvm-s390x-07.s390.fedoraproject.org which needs to cache packages for s390x builders in bos 2017-04-27 20:25:26 +00:00
Kevin Fenzi
7686e28971 make varnish role not care about yum 2017-04-05 22:08:05 +00:00
Kevin Fenzi
eb787777b0 make varnish role more general and add in config for a new varnish on kojipkgs 2017-04-05 19:07:01 +00:00
Patrick Uiterwijk
ee4b5edc64 Merge varnish patch to production
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-03-31 11:40:21 +00:00
Patrick Uiterwijk
e094e36ffd with_items is not actually used here
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-03-10 14:16:15 +00:00
Patrick Uiterwijk
6f915a15a7 Deploy a testing haproxy vcl to stg (ticket#3294C30)
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-03-10 14:13:42 +00:00
Patrick Uiterwijk
21a5e0b019 Fix wrong name 2015-06-17 07:10:32 +00:00
Patrick Uiterwijk
46d2abf3f7 Show proxy name on varnish errors 2015-06-17 07:07:24 +00:00
Kevin Fenzi
546ad2148a Enable varnish to start on boot also 2015-01-28 01:52:50 +00:00
Kevin Fenzi
caa8c29611 Add varnishd sebool 2015-01-26 22:55:28 +00:00
Patrick Uiterwijk
e9b5e1b8b8 Consolidate prod and stg varnish 2015-01-21 21:33:13 +00:00
Kevin Fenzi
7cb1bee6ea Tag varnish with varnish 2015-01-06 22:22:23 +00:00
Kevin Fenzi
538f1bec6a Restart varnish on changes 2015-01-06 22:19:18 +00:00
Kevin Fenzi
18d7401265 THis is just item. 2015-01-06 22:13:47 +00:00
Pierre-Yves Chibon
0f43dd177d Add the varnish role 2014-12-08 00:09:40 +00:00