Commit graph

29 commits

Author SHA1 Message Date
Aurélien Bompard
d884a0f8ba
Use the combined RabbitMQ CA cert in the clients
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2025-04-11 15:15:45 +02: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
Kevin Fenzi
6c38d7b61a various: fix some more shell variables that were accidentally converted to builtin.shell
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-01-15 17:26:50 -08:00
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
3c41882bb0 ansiblelint fixes - fqcn[action-core] - shell to ansible.builtin.shell
Replaces references to shell: with ansible.builtin.shell

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:29:10 +10: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
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
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
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
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
Jiri Podivin
f513e7cbcd Linting python scripts
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:29 +00: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
Stephen Smoogen
8d5fc4ced0 Various mirrormanager items were hardcoded to phx2 and needed to be
updated to iad2 so that propogation and other rules were put in
place.
2020-06-13 15:37:46 -04:00
Pierre-Yves Chibon
93f120af20 mirror_pagure_ansible: Adjust the config for the new location of the mirrors
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-06-05 00:33:42 +02:00
Pierre-Yves Chibon
f2d025b97e mirror_pagure_ansible: one more adjustment for the different queues for the different caves
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-12 18:13:52 +02:00
Pierre-Yves Chibon
3d647a885e mirror_pagure_ansible: adjust the queues so that batcave in iad2 has its own queue
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-12 18:09:25 +02:00
Pierre-Yves Chibon
fa95f7c062 mirror_pagure_ansible: sync changes from upstream
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-05 21:14:25 +02:00
Pierre-Yves Chibon
fdb6943cc4 mirror_pagure_ansible: Sync the upstream changes
These include:
- Run a sync upon starting the service
- If the repo we fetch in has remotes configured, push to them (if they
  are not 'origin' since we just fetched from it).

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-03 21:39:35 +02:00
Pierre-Yves Chibon
2b72de8e86 mirror_pagure_ansible: Use different queues for batcave01 and batcave13
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-01 14:51:56 +02:00
Pierre-Yves Chibon
1a234dd756 mirror_pagure_ansible: Let the user write to /srv if we want to mirror things there
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-01 14:36:27 +02:00
Pierre-Yves Chibon
68b5c105d9 mirror_pagure_ansible: adjust the code for the exception raise in python2
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-01 14:31:07 +02:00
Pierre-Yves Chibon
ae6b68fa99 mirror_pagure_ansible: Hard code the name of the logger
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-01 14:17:53 +02:00
Pierre-Yves Chibon
1d4a623a54 mirror_pagure_ansible: add some debugging code
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-01 14:12:52 +02:00
Pierre-Yves Chibon
1a9213c426 mirror_pagure_ansible: adjust app name, app_url and the trigger since we renamed the namespace in pagure.io
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-01 14:08:45 +02:00
Pierre-Yves Chibon
6fdf5bd47f mirror_pagure_ansible: sync down the latest changes from upstream
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-05-01 13:59:31 +02:00
Pierre-Yves Chibon
51d5016747 mirror_pagure_ansible: Change of plans, we're keeping ansible separate for now
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 21:57:59 +02:00
Pierre-Yves Chibon
6bec61e4dd mirror_pagure_ansible: Adjust the path to the fedora-messaging certs
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 21:23:24 +02:00
Pierre-Yves Chibon
93cf23a2ae mirror_pagure_ansible: Add a role for this service
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-04-30 19:15:42 +00:00