manala.oauth2_proxy

#######################################################################################################

:exclamation: ABLEHNUNG :exclamation:

Dieses Repository und die zugehörige Rolle sind veraltet.

Sie können unsere anderen Rollen in der Manala Ansible Sammlung finden. Informationen zur Nutzung finden Sie im Sammlungs-Repository.

#######################################################################################################

Ansible Rolle: OAuth2 Proxy Build Status

:exclamation: Probleme melden und Pull-Anfragen senden im Hauptansible-Rollen-Repository :exclamation:

Diese Rolle kümmert sich um die Einrichtung und Konfiguration von OAuth2 Proxy.

Sie ist Teil des Manala Ansible Stacks, kann aber auch als eigenständige Komponente verwendet werden.

Anforderungen

Diese Rolle ist dafür ausgelegt, mit dem manala oauth2-proxy Debian-Paket, das im manala Debian-Repository verfügbar ist, zu arbeiten. Bitte verwenden Sie die manala.apt Rolle, um es richtig zu handhaben.

manala_apt_preferences:
  - oauth2-proxy@manala

Abhängigkeiten

Keine.

Installation

Ansible 2+

Verwendung des ansible galaxy CLI:

ansible-galaxy install manala.oauth2_proxy

Verwendung einer ansible galaxy Anforderungsdatei:

- src: manala.oauth2_proxy

Rollen-Handler

Name Typ Beschreibung
oauth2 proxy neu starten Dienst Starte oauth2 proxy neu

Rollen-Variablen

Name Standard Typ Beschreibung
manala_oauth2_proxy_install_packages ~ String Abhängigkeitspakete zur Installation
manala_oauth2_proxy_install_packages_default ['oauth2-proxy'] String Standardabhängigkeitspakete zur Installation
manala_oauth2_proxy_config_file '/etc/oauth2-proxy/config.cfg' String Pfad zur Konfigurationsdatei
manala_oauth2_proxy_config_template ~ String Pfad zur Konfiguration Vorlage
manala_oauth2_proxy_config [] Array Konfiguration

Beispielkonfiguration

manala_oauth2_proxy_config:
  - http_address: 0.0.0.0:80
  - request_logging: true
  - upstreams:
    - http://127.0.0.1:8080/
  - email_domains:
    - manalas.com
  - client_id: oauth2_client_id
  - client_secret: oauth2_client_secret
  - cookie_name: _oauth2_proxy
  - cookie_secret: cookie_secret
  - cookie_domain: .manalas.com
  - cookie_expire: 168h
  - cookie_refresh: 1h
  - cookie_secure: true
  - cookie_httponly: true
  - skip_auth_regex:
    - /foo

Beispiel Playbook

- hosts: servers
  roles:
    - { role: manala.oauth2_proxy }

Lizenz

MIT

Autoreninformation

Manala (http://www.manala.io/)

Über das Projekt

Handle oauth2-proxy

Installieren
ansible-galaxy install manala.oauth2_proxy
GitHub Repository
Lizenz
Unknown
Downloads
1.7k
Besitzer
Manala is an open source project supported by the french web agency ELAO providing advanced ansible roles for website's infrastructures and far more.