Michal Konecny
ba209ee7df
Fixes for OpenID only ipsilon instance in staging
...
After some troubleshooting I was finally able to fix the OpenID
authentication on staging. These are the changes I ended up deploying to fix
the remaining issues.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-11-03 09:33:32 +00:00
Michal Konecny
446e63e6c6
[ipsilon] Check if the variable is defined first
...
Check if the openid variabled defined first, otherwise the playbook will fail.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-10-03 13:53:06 +02:00
Michal Konecny
6cbcc82f53
[ipsilon] Add OpenID banner
...
This will add OpenID banner to ipsilon instance that is set as OpenID only.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-10-03 13:24:55 +02:00
Michal Konecny
f1213c4af8
[ipsilon] Fix nesting in jinja template
...
I hope this is the last one.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-10-02 13:50:16 +02:00
Michal Konecny
99bebc403e
[ipsilon] Fix jinja2 nesting
...
This time it should be correct.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-10-02 13:30:56 +02:00
Michal Konecny
ebaab04a7b
[ipsilon] Add missing endif
...
Nesting with jinja2 is somewhat not visible at first glance.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-10-02 13:11:03 +02:00
Michal Konecny
3ff5d4fc8b
[ipsilon] Enable openid again on production
...
I forgot to specify that the changes are only for staging now, so it
disabled OpenID on production when the playbook was played. Let's fix that.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-10-02 12:54:50 +02:00
Michal Konecny
b8a41de30e
[ipsilon] Fix ansible-lint errors
...
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-10-02 10:09:22 +02:00
Michal Konecny
ca04c6d41a
[ipsilon] Use different repo URL
...
The current repo URL was evaluated as
https://pagure.io/fedora-infra/ipsilon-fedora.git/ which returns 404 on
pagure.io. Let's use just the
https://pagure.io/fedora-infra/ipsilon-fedora , which works even with the
added / at the end.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-10-02 07:40:48 +00:00
Michal Konecny
825069860a
[ipsilon] Add OpenID header
...
The ipsilon instance with disabled OpenID authentication still needs to
sent the header for OpenID in response so the authentication could
continue with different instance.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-10-02 07:25:34 +00:00
Michal Konecny
a9ef982c03
[ipsilon] Check if variable is defined first
...
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-09-25 14:35:57 +02:00
Michal Konecny
4592e463f4
Setup ipsilon02 as OpenID only instance
...
This will split the ipsilon config to OpenID and everything else.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-09-25 14:17:08 +02:00
Ryan Lerch
9ea5295dca
[forgejo] update oauth config to match brand better
...
resolves: https://codeberg.org/fedora/forgejo-deployment/issues/144
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-08-21 18:48:30 +10:00
David Kirwan
da2c3cc7bb
forgejo: update the ipsilon config for forgejo staging
...
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com >
2025-08-20 15:53:15 +00:00
Aurélien Bompard
34f4f8d119
Webhook2fedmsg: Allow the UI's OIDC callback URL
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-08-18 14:45:56 +02:00
Akashdeep Dhar
651b58cee2
badges: add client config for UI revamp testing
...
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com >
2025-08-12 07:31:16 +00:00
Greg Sutcliffe
ea4f07c9d7
Revert "Zabbix: Add ipsilon oidc entry for zabbix-stg"
...
Zabbix uses SAML, not OIDC, which I misunderstood
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org >
2025-07-17 12:20:23 +01:00
Greg Sutcliffe
978916004d
Zabbix: Add ipsilon oidc entry for zabbix-stg
...
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org >
2025-07-16 10:23:31 +01:00
Akashdeep Dhar
c319941db9
Add client config for W2FM UI test environment
...
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com >
2025-07-10 05:16:44 +00:00
Aurélien Bompard
56fb57934b
Ipsilon: adjust rewrite rule because apache now adds the / prefix
...
Fixes: https://pagure.io/fedora-infrastructure/issue/12624
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-07-07 16:36:42 +02:00
Aurélien Bompard
82b4bb3b4e
Change the fedocal OIDC callback URL
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-07-07 12:14:00 +02:00
Francois Andrieu
fb5f6de876
add ocp-rdu3.stg oauth config
2025-06-26 13:10:55 +02:00
Michal Konecny
302e329a54
[ipsilon] Remove secret from w2fm entry for staging
...
w2fm doesn't need a secret as it's client application and doesn't use SSO.
2025-06-03 16:33:36 +02:00
Aurélien Bompard
bcd821a69f
Fix typo
...
Signed-off-by: Aurélien Bompard <aurelien@bompard.org >
2025-06-02 14:30:01 +02:00
Akashdeep Dhar
057e02bd1e
Add client config for W2FM test environment
...
Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com >
2025-05-29 09:36:41 +00:00
Michal Konecny
dd230cc1ef
[ipsilon] Add toddlers OIDC entry
...
Toddlers will not be a standard OIDC client, but we need it to preserve
the toddlers tokens in db-fas01.stg.
2025-05-22 13:26:00 +02:00
Michal Konecny
9a04135442
[ipsilon] Add blockerbugs OIDC entry
...
https://pagure.io/fedora-infrastructure/issue/12516
2025-05-07 14:47:34 +02:00
Michal Konecny
33c846b516
[ipsilon] Fix redirect URL for staging libravatar
2025-04-24 13:48:03 +02:00
Michal Konecny
a76d88a1f6
[ipsilon] Add libravatar entry for staging
...
https://pagure.io/fedora-infrastructure/issue/12493
2025-04-17 15:57:44 +02:00
Michal Konecny
3a612a4230
[ipsilon] Add OIDC entry for testdays app
...
https://pagure.io/fedora-infrastructure/issue/12490
2025-04-17 13:34:21 +00:00
Adam Williamson
a23c9df05a
Make ipsilon static config file public (staging), clean it up
...
The only secrets in this file, AFAIK, are the client secrets.
Most of those are already defined as secret variables for the
plays in this repo that deploy the services to use.
So instead of duplicating most of the secrets, and keeping this
file in the private repo where we can't do PRs and editing it is
awkward, let's just make all the client secrets be variables,
and make this file public.
For all the cases where a secret wasn't already defined as a
variable, I've added it, so this should work as-is.
Note that the use of `flask_oidc_dev_stg_oidc_client_secret`
twice is not an error in this PR; that secret was reused for
the staging community blog client config. I have reported this
at https://pagure.io/fedora-infrastructure/issue/12161#comment-963303 .
This also removes the client configurations for several services
which no longer exist.
Signed-off-by: Adam Williamson <awilliam@redhat.com >
2025-03-31 23:07:01 +00:00
Adam Williamson
4cd3765cd0
ipsilon: drop obsolete config for beaker and dead bugzillas
...
We haven't had a beaker since 2018 or so, and none of these
various staging/test/dev bugzilla instances exist any more.
Signed-off-by: Adam Williamson <awilliam@redhat.com >
2025-03-28 18:04:30 +00:00
Kevin Fenzi
58bbbca299
ipa: make sure a bunch of calls do not log sensitive data
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2025-03-20 14:48:12 -07:00
Michal Konecny
6428f8f772
Sunset github2fedmsg and fedmsg
...
This commit is removing all the fedmsg related stuff from ansible
repository.
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-02-13 10:08:51 +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
Kevin Fenzi
13266214d2
ipa / handlers: Fix call to 'restart sssd' that is now 'Restart sssd'
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2025-01-15 16:36:11 -08: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
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
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
5bdfe4b1e5
copr and ipsilon - rename yml templates to .j2
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-14 08:37:33 +10:00
Kevin Fenzi
46ca55bcfc
ipsilon: update bugzilla.redhat.com saml2 data
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-12-03 11:01:49 -08:00
Kevin Fenzi
6d3a53901d
ipsilon: just copy the awx metadata in for now since get uri doesnt work for this
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-12-02 11:42:52 -08:00
Kevin Fenzi
417343b113
ipsilon: switch away from broken get_url to a local file with hotfix
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-12-02 10:03:08 -08: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
e3e2cb1d93
odcs: retire service ( infra 12192 )
...
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2024-09-24 18:21:51 +00:00
Jiri Podivin
f513e7cbcd
Linting python scripts
...
Signed-off-by: Jiri Podivin <jpodivin@redhat.com >
2024-09-18 19:57:29 +00:00