Commit graph

16 commits

Author SHA1 Message Date
James Antill
0405924e26 Add mod_wsgi.actions and libdnf plugin, to restart httpd.
Signed-off-by: James Antill <james@and.org>
2025-02-17 19:36:55 +00:00
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
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
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
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
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
Michal Konecny
6416dd6249 [mod_wsgi] Install the mod_wsgi correctly on RHEL9
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-04-26 12:07:12 +02:00
Stephen Smoogen
a6aa7f7923 Make it so correct mod_wsgi gets installed on different versions of rhel 2020-05-08 15:11:46 -04:00
Ralph Bean
3a4b8ab4eb It may be that ansible expects this to be main.yml. 2017-01-30 17:43:13 +00:00
Kevin Fenzi
1eeadd6cc2 and a typo, just cannot win today. 2016-10-02 17:17:27 +00:00
Kevin Fenzi
33237218b9 messed up the conditional here 2016-10-02 17:14:19 +00:00
Kevin Fenzi
c6a1cc03a5 try and fix mdapi01.stg trying to start/restart apache when it does not need it at all 2016-10-02 17:11:14 +00:00
Kevin Fenzi
e4dda05dcc fix pkg to package 2016-08-08 16:40:16 +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
Michael Scherer
54e5823e5f Use pkg rather than yum/dnf module 2016-08-08 16:34:28 +00:00
Michael Scherer
07f04462c3 Move mod_wsgi to a role rather than a included tasks 2016-08-08 16:34:12 +00:00