Commit Graph

27 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
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +10:00
Ryan Lerch
6a3816dfdc ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
Replaces many references to 'copy' with ansible.builtin.copy

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:43:31 +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
Ryan Lerch
89f6f1fc32 Fix majority of remaining yamllint warnings and errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-28 17:31:45 +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
c11827de9f pagure/src: see about enabling h2
I'll try this in stg first and then roll to prod if all looks ok.
I don't see any reason why it wouldn't work off hand.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-08-03 11:46:46 -07: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
8a018427a7 apache: f30+ has no /etc/init.d/ anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-18 21:12:49 +00:00
James Antill
fc0ae206cc apache: Convert from dnf/with_items to package/name. 2019-06-11 15:02:03 +00:00
Patrick Uiterwijk
8fb5f0aca9 Add apache/headers tag
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-05-01 17:33:03 +02:00
Patrick Uiterwijk
e4ccaef4ca Add h2 tag
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-04-17 23:49:18 +02:00
Patrick Uiterwijk
5a5dc9d9b0 Close down apache-status from the public
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-01-03 21:55:36 +01:00
Patrick Uiterwijk
ed3aea328b Only put h2.conf on Fedora boxes
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-22 18:15:34 +00:00
Patrick Uiterwijk
0f94698922 Enable h2 for proxies and also h2c for Fedora app servers
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-21 21:16:27 +00: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
Kevin Fenzi
04a52b8667 Death to all trailing whitespace. 2016-08-08 19:36:31 +00:00
Michael Scherer
476b3a4aeb Move the handler for restarting apache to apache role
And make mod_wsgi depend on the role
2016-08-08 16:34:35 +00:00
Tim Flink
5d1b09d139 fixing more package install dnf/yum logic 2015-11-26 01:34:16 +00:00
Kevin Fenzi
7eebae7c89 Adjust for dnf vs yum 2015-11-07 20:06:35 +00:00
Kevin Fenzi
a71adace87 Use a reload instead of a restart for proxies apache. 2015-10-11 19:31:54 +00:00
Kevin Fenzi
275f4b5203 Change all instances of ansible_distribution_major_version to filter to int for comparisons. 2015-05-27 22:27:39 +00:00
Ricky Elrod
71031420b5 Test defining collectd_apache in the apache role.
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-25 04:34:29 +00:00
Kevin Fenzi
b5cc837e99 Finally move the tasks/apache.yml to a role. This allows us to order it with the other roles. 2015-05-07 19:06:35 +00:00