oauth2-proxy

oauth2-proxy

Build Status Ansible Galaxy License

Ansible Galaxy role to install and manage OAuth2 Proxy.

Requirements

This role has been tested on Ubuntu 14.04 and will likely only work on an Ubuntu-like system.

Role Variables

# Corresponds to the GitHub releases
# https://github.com/bitly/oauth2_proxy/releases
oauth2_proxy_version: '2.1'

# User to run the OAuth2 Proxy daemon as
oauth2_proxy_daemon_user: 'oauth2daemon'

# OAuth2 Proxy cli arguments
oauth2_proxy_cli_args: >-
  --upstream="http://127.0.0.1:8080/"
  --cookie-secret="muchsekr3t"
  --client-id="doge"
  --client-secret="suchsekuR3"
  --email-domain=*

Examples

Install this module from Ansible Galaxy into the './roles' directory:

ansible-galaxy install marvinpinto.oauth2-proxy -p ./roles

Use it in a playbook as follows:

- hosts: '127.0.0.1'
  roles:
    - role: 'marvinpinto.oauth2-proxy'
      become: true

Development

Use the supplied Vagrantfile for local development and testing (hint: vagrant up --provision)

About

Ansible Galaxy role to install and manage Bitly's OAuth2 Proxy.

Install
ansible-galaxy install marvinpinto/ansible-role-oauth2-proxy
GitHub repository
License
mit
Downloads
407
Owner
Computer nerd.