Commit Graph

40 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
62952df107 ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
Replaces many references to  file: with ansible.builtin.file

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 10:41:52 +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
Aurélien Bompard
4accba8e8f Add X-Forwarded-Proto in addition to X-Forwarded-Scheme
The convention is more on `-Proto` than `-Scheme`:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2024-02-13 12:34:28 +01:00
Kevin Fenzi
7984b46eb7 The great phx2 pruning run (1st cut).
Since we no longer have any machines in phx2, I have tried to remove
them from ansible. Note that there are still some places where we need
to remove them still: nagios, dhcp, named were not touched, and in cases
where it wasn't pretty clear what a conditional was doing I left it to
be cleaned up later.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-14 14:14:31 -07:00
Kevin Fenzi
69096573ba iad2: fix kerneltest db host for iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-02 10:23:36 -07:00
Kevin Fenzi
e5f74d8566 kerneltest: fix conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:11 +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
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
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
f29cb4c61b Fix other endpoints
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-06-21 20:58:24 +00:00
Kevin Fenzi
4cec7a28d7 Drop seperate yum clean all calls. 2016-06-25 22:09:52 +00:00
Pierre-Yves Chibon
f1ad9dcc9b Add fedmenu integration settings to kerneltest 2016-03-05 09:44:25 +01:00
Kevin Fenzi
dccdd35d4a Need another bool here. 2016-03-04 23:58:47 +00:00
Kevin Fenzi
f0c80375b5 Remove action: in all roles. 2016-01-06 21:58:31 +00:00
Ralph Bean
fc3ab9a58f Tag up the kerneltest role. 2015-06-16 20:49:39 +00:00
Ralph Bean
c4605694d8 Add kerneltest to the dynamic fedmsg endpoints stuff. 2015-06-16 20:48:42 +00:00
Pierre-Yves Chibon
965904e542 Adjust doc to match value 2015-02-25 15:50:37 +01:00
Pierre-Yves Chibon
0eda424e10 Increase the max size allowed for upload to 25Kb
Changed upstream at
286278c6b0
2015-02-25 15:41:26 +01:00
Till Maas
73b1222f6b Make other flask session cookies secure 2015-02-04 15:34:31 +01:00
Pierre-Yves Chibon
8916a3779a Specify the preferred url scheme and the openid endpoint in stg for kerneltest 2014-11-07 10:27:29 +01:00
Praveen Kumar
4b1e5162d7 Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
Ralph Bean
5fb2d93941 Update kerneltest seboolean to let fedmsg send error emails. 2014-07-03 00:36:48 +00:00
Ralph Bean
c8728f2c84 These look like log files, not static files. 2014-07-03 00:36:11 +00:00
Pierre-Yves Chibon
47f6f7e75a Actually make a difference between el6 and 7 2014-07-02 17:54:46 +02:00
Pierre-Yves Chibon
6dab7a5edb Change the SELinux type of the logs folder 2014-07-02 17:47:58 +02:00
Pierre-Yves Chibon
20e5a15d8c Fix formatting 2014-07-02 17:38:51 +02:00
Pierre-Yves Chibon
2a144e3c5e Try some SELinux woodoo for the logs folder 2014-07-02 17:37:42 +02:00
Pierre-Yves Chibon
dcec1c12cc Allow kerneltest01 to create the kerneltest db 2014-07-02 17:30:05 +02:00
Pierre-Yves Chibon
81ad59c918 Adjust the path to the static file for el6 vs others 2014-07-02 16:17:20 +02:00
Pierre-Yves Chibon
710ec26471 Move the kerneltest api key to the private repo - and create one 2014-06-18 19:06:16 +02:00
Pierre-Yves Chibon
34af155cab Add text/x-log as an allowed mimetype 2014-06-18 19:06:16 +02:00
Pierre-Yves Chibon
8bd76d754e Fix the link to the static folder for kerneltest 2014-06-18 08:46:29 +02:00
Pierre-Yves Chibon
12222f4735 Fix indentation 2014-06-17 18:24:31 +02:00
Pierre-Yves Chibon
7bb064b89d Add the kerneltest role 2014-06-17 17:52:59 +02:00