add option to NetBox role for patch. NetBox for OIDC group and role map.
Some checks failed
/ Ansible Lint (push) Failing after 1m10s
/ Ansible Lint (pull_request) Successful in 1m39s

Add option to NetBox role to make it patch NetBox to add custom pipeline
code for OIDC group and role mapping.

The custom pipeline code is licensed under the Creative Commons: CC
BY-SA 4.0 license.

See:
https://github.com/goauthentik/authentik/blob/main/LICENSE
https://github.com/goauthentik/authentik/blob/main/website/integrations/services/netbox/index.md
https://docs.goauthentik.io/integrations/services/netbox/
5676b1a468
This commit is contained in:
June 2025-02-15 04:20:29 +01:00
commit a71071dfcc
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
6 changed files with 87 additions and 2 deletions

View file

@ -25,6 +25,14 @@
- Run upgrade script
- Ensure netbox systemd services are set up and up-to-date
- name: Ensure patch for adding custom pipeline code for OIDC group and role mapping is applied
ansible.posix.patch:
src: 0001_oidc_group_and_role_mapping_custom_pipeline.patch
basedir: /opt/netbox/
when: netbox__patch_oidc_group_and_role_mapping_custom_pipeline
notify:
- Ensure netbox systemd services are set up and up-to-date
- name: Ensure netbox user
block:
- name: Ensure netbox group exists