marvinpinto.oauth2-proxy

oauth2-proxy

ビルドステータス Ansible Galaxy ライセンス

Ansible Galaxyの役割で、OAuth2 Proxyをインストールし、管理します。

要件

この役割は、Ubuntu 14.04でテストされており、Ubuntu系のシステムでのみ動作する可能性があります。

役割の変数

# GitHubのリリースに対応
# https://github.com/bitly/oauth2_proxy/releases
oauth2_proxy_version: '2.1'

# OAuth2 Proxyデーモンを実行するユーザー
oauth2_proxy_daemon_user: 'oauth2daemon'

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

このモジュールをAnsible Galaxyから'./roles'ディレクトリにインストールする:

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

プレイブックで次のように使用します:

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

開発

ローカル開発とテストには提供されたVagrantfileを使用します(ヒント: vagrant up --provision)。

プロジェクトについて

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

インストール
ansible-galaxy install marvinpinto.oauth2-proxy
ライセンス
mit
ダウンロード
420
所有者
Computer nerd.