Commit graph

38 commits

Author SHA1 Message Date
iamyaash
b3d6a90b9a motd generic template added
migrated notes from infra/hosts

motd changes; excluding CSI infos

removed csi_* vars from group_vars; converted csi_purpose & csi_relationship into notes

fixed merge conflicts

minor changes; var

updating YAMLs & playbooks

udpated YAMLs & playbooks again

updated correctly; buildhw.yml

fixing merge conflicts

dest added in motd.yml
2025-01-28 01:10:14 +00:00
dbdb0d9824 Fix the final 50ish casing linting errors
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-22 07:30:55 +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
2cf38c1f17 [yaml-lint] fix yamllint errors and warnings on plabooks
Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2024-11-25 19:04:25 +10:00
5ad386ed6f
zabbix: Enable zabbix agent on prod hosts
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-01-03 14:31:12 +00:00
Andrew Heath
a961a5ed7d updating playbooks to work with ansible 2.14 2023-05-18 15:28:34 -04:00
Kevin Fenzi
edfe391519 oci-candidate-registry: move prod candidate to use a nfs volume
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-06 15:28:09 -07:00
Kevin Fenzi
7c50802e78 missing comma. sigh
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-16 12:09:00 -07:00
Kevin Fenzi
aa3d6a2b54 also change playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-16 12:08:14 -07:00
Kevin Fenzi
3ae90ed527 fix indent/syntax
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-16 12:06:12 -07:00
Kevin Fenzi
b65a180cad oci-registry / staging: try to enable zabbix-agent
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-16 12:04:25 -07:00
Nils Philippsen
2d4ec8d259 Apply openvpn/client role before ipa/client
This is so hosts on the Fedora VPN are able to talk to IPA before they
try to enroll.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 18:19:11 +01:00
Nils Philippsen
40a5fed45e ipa/client: enable for oci_registry in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
Mark O'Brien
4e33f7c5d7 remove trailing backslash 2021-02-12 14:22:40 +00:00
Mark O'Brien
5e3848ad7b add ipa client role to hosts with no fas in staging 2021-02-12 14:22:40 +00:00
Kevin Fenzi
3c4cbc19f5 Add oci-candidate-registry01.stg and oci-registry01.stg
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 15:30:58 -07:00
Kevin Fenzi
36f819cf4f oci-registry: syntax is not my friend
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-13 19:52:04 -07:00
Kevin Fenzi
8b3346b896 oci-registry: add space
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-13 19:48:33 -07:00
Kevin Fenzi
252f6be758 oci-registry: only do the nfs mount on the non candidate registries
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-13 19:41:13 -07:00
Kevin Fenzi
35930379f8 delegations: use quotes when using a variable in a delegate_to
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 12:58:59 -07:00
Kevin Fenzi
2f81e76657 iad2: adjust a bunch of things that were delegating directly to phx2 hosts
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-03 12:54:59 -07:00
Clement Verna
85be95fb79 Replace the push-docker role by login-registry and use podman.
This commit replaces the push-docker role which depends on docker
by a new role login-registry which is using podman instead.

Fixes https://pagure.io/fedora-infrastructure/issue/8393

Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:21 +02:00
Clement Verna
f6914e9125 OCI registry: do not use the NFS mount in staging or candidate.
Fixes #https://pagure.io/fedora-infrastructure/issue/8507

Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:20 +02:00
Kevin Fenzi
80d8694583 ansible: fix -- mistake for import_playbook
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:23:42 +00:00
Kevin Fenzi
2d1cf41c9f ansible: fix the virt-create calls
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 18:19:27 +00:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Randy Barlow
c53a7f5b25 Remove Gluster configuration for the registries.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-10-04 19:52:33 +00:00
Randy Barlow
da5f9ca2a3 Delete records of oci-registry02.stg.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-10-04 18:38:20 +00:00
Randy Barlow
d81eb87ac1 storage.filesystem.rootdirectory = /srv/registry for registries.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-10-04 18:07:09 +00:00
Randy Barlow
ee4e6af418 Give the staging registry a dir to use for local storage.
We decided not to use NFS storage for the staging registry, so
I am adding a /srv/registry directory to simulate having the same
path that we would have on the production registry.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-10-04 17:41:47 +00:00
Patrick Uiterwijk
2a1f1a6e19 I ALWAYS get this variable name wrong.... You'd think I'd learn...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-10-04 15:37:37 +00:00
Patrick Uiterwijk
d0796a2b7d No NFS on candidate
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-10-04 15:36:15 +00:00
Patrick Uiterwijk
e86f17404a add NFS to oci
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-10-04 15:31:17 +00:00
Rick Elrod
ae630a42ea rename stg docker* to oci*
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-08-28 22:08:42 +00:00
Clement Verna
098ccc4075 Cleanup the push-docker role and add some comment about the role
Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-08-24 11:41:44 +02:00
Kevin Fenzi
2d555fcf11 Trailing slashes might be the problem here. 2018-08-22 16:47:35 +00:00
Rick Elrod
fa9d870a58 might as well use 01 and 02, instead of 02 and 03
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-08-21 18:37:32 +00:00
Rick Elrod
171c5c1054 docker->oci
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-08-21 18:08:02 +00:00
Renamed from playbooks/groups/docker-registry.yml (Browse further)