File tree Expand file tree Collapse file tree 1 file changed +35
-1
lines changed
Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change 11# ansible-oauth2-proxy
2- An ansible role to install oauth2 proxy
2+ An ansible role to install [ oauth2 proxy] ( https://github.com/bitly/oauth2_proxy )
3+
4+ Variables
5+ ---------
6+
7+ ``` yaml
8+ oaut2_proxy_http : " https://github.com/bitly/oauth2_proxy/releases/download/v2.0.1/oauth2_proxy-2.0.1.linux-amd64.go1.4.2.tar.gz"
9+ oaut2_proxy_http_sha256 : " c6d8f6d74e1958ce1688f3cf7d60648b9d0d6d4344d74c740c515a00b4e023ad"
10+ oauth2_user : " oauth2"
11+ oauth2_dir : " /var/oauth2_proxy"
12+ oauth2_dir_tmp : " /var/oauth2_proxy/tmp"
13+ oauth2_dir_log : " /var/log/oauth2-proxy/"
14+ oauth2_config_path : " /var/oauth2_proxy/oauth2_config.cfg"
15+ oauth2_compress_filename : " {{ oaut2_proxy_http | basename }}"
16+ oauth2_filename : " {{ oauth2_compress_filename |replace('.tar.gz', '') }}"
17+
18+ # See for all options https://raw.githubusercontent.com/bitly/oauth2_proxy/master/contrib/oauth2_proxy.cfg.example
19+ oauth2_proxy_config :
20+ http_address : " 127.0.0.1:5000"
21+ upstreams : [ "127.0.0.1:6060" ]
22+ provider : " github"
23+ email-domain : " *"
24+ cookie-secure : false
25+ cookie-domain : " localhost:5000"
26+ cookie_secret : " COOK_SECRET"
27+ client_id : " YOUR_CLIENT_ID"
28+ client_secret : " CLIENT_SECERET"
29+
30+ oauth2_config_cmdline_args : " -github-org='MYCoolORg'"
31+ ` ` `
32+
33+
34+ License
35+ --------
36+ MIT
You can’t perform that action at this time.
0 commit comments