benschubert.infrastructure.authentik_application_icon_url module – Allows configuring application icons from the Authentik API

Note

This module is part of the benschubert.infrastructure collection (version 0.0.1).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install benschubert.infrastructure.

To use it in a playbook, specify: benschubert.infrastructure.authentik_application_icon_url.

Synopsis

Parameters

Parameter

Comments

authentik_token

string / required

The token used to authenticate against the Authentik server

authentik_url

string / required

The URL at which to contact the Authentik server

ca_path

string

PEM formatted file that contains a CA certificate to be used for validation

slug

string / required

The slug identifying the application for which to configure the icon

timeout

integer

The timeout to set when contacting the Authentik Server.

If your server is slow to respond, it might be necessary to bump this

Default: 10

url

string / required

The URL of the icon for the application

validate_certs

boolean

If false, SSL certificates will not be validated.

This should only set to false used on personally controlled sites using self-signed certificates.

Choices:

  • false

  • true ← (default)

Examples

- name: Set the URL for the traefik application
  benschubert.infrastructure.authentik_application_icon_url:
    authentik_token: <my-secret-token>
    authentik_url: https://authentik.test/
    slug: traefik-dashboard
    url: https://traefik.test/dashboard/icons/favicon-32x32.png

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

data

string

The URL of the icon for the application

Returned: always

Sample: "https://traefik.test/dashboard/icons/favicon-32x32.png"

Authors

  • Benjamin Schubert (@benjaminschubert)