Commit Graph

36 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
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
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
665023329a This creates= was accidentally removed. This means all master runs have been running this on both packages03 and packages04 every run. :( 2018-11-26 18:57:26 +00:00
David Shier
c0f45892ff Removed all traces i could fild of the tagger and statscache (and stats_cache for databases) in ansible, proxy configs, and the nagios config. Pursuant to request in pagzre issue https://pagure.io/fedora-infrastructure/issue/7267 . - Odin2016 2018-10-03 17:50:38 +00:00
Clement Verna
a4b3eee7e6 Cleanup the packages03 role
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-02-14 10:05:22 +01:00
Clement Verna
5885e444be Set the correct selinux context to allow httpd to clone git repos
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-02-13 20:32:22 +01:00
Patrick Uiterwijk
ba4bccf109 Allow httpd_execmem and nfs
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-22 18:48:37 +00:00
Patrick Uiterwijk
a0ea57487e Revert splitting creates out. That was invalid
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-22 13:00:30 +00:00
Clement Verna
6396276ec9 Add the destination for the icons during indexing
Signed-off-by: Clement Verna <cverna@tutanota.com>
2017-12-21 12:00:26 +01:00
Patrick Uiterwijk
988148e972 Update the filename of the termlist database
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-20 03:15:59 +00:00
Patrick Uiterwijk
d510cef413 Fix path to xapian db
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-19 18:19:39 +00:00
Kevin Fenzi
4b57e2d022 Tweak path and set indexer to run only in stg for now via playbook 2017-10-13 21:21:32 +00:00
Kevin Fenzi
ddc36498b0 fix task, creates is part of the command module 2017-10-10 23:56:35 +00:00
Patrick Uiterwijk
4c7079ce8e Make this work for both stg and prod
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-11 01:33:47 +02:00
Patrick Uiterwijk
c82fa60308 Create the database the first time we deploy packages
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-11 01:31:26 +02:00
Kevin Fenzi
1b76c99aff this one also should be rhel6 only 2017-10-10 22:13:51 +00:00
Kevin Fenzi
a9d7ce335d only apply dist hotfix on rhel6 hosts 2017-10-10 22:09:31 +00:00
Kevin Fenzi
adccb33254 move python-sqlalchemy0.8 out to a rhel6 only task 2017-10-10 22:05:32 +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
Ralph Bean
3bd06c7e76 Try to fix permissions for fedmsg on packages03. 2015-11-30 17:58:21 +00:00
Ralph Bean
e2201e9553 Give fedmsg write access here so it can update xapian. 2015-11-21 01:32:49 +00:00
Ralph Bean
1f719f48f7 I could've sworn I committed this before. 2015-11-19 17:10:30 +00:00
Ralph Bean
03dca2ad73 Make sure fedmsg can read the packages config. 2015-11-18 17:05:05 +00:00
Ralph Bean
f03b82a4bd Fix fedmsg-hub for fedora-packages to pick up forward-compat packages. 2015-11-18 15:54:15 +00:00
Ralph Bean
6b0f5d1676 Take a stab at a rewrite of the packages role. 2015-11-17 16:53:24 +00:00
Ralph Bean
927bea9201 Make a copy of the packages/ role to mess with in staging. 2015-11-17 15:47:44 +00:00