File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed
Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 11# ansible-oauth2-proxy
2- An ansible role to install [ oauth2 proxy] ( https://github.com/bitly/oauth2_proxy )
2+ An ansible role to install [ oauth2 proxy] ( https://github.com/bitly/oauth2_proxy )
33
44Variables
55---------
66
77``` 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 "
8+ oaut2_proxy_http : " https://github.com/oauth2-proxy/oauth2-proxy /releases/download/v7.1.3/oauth2-proxy-v7.1.3. linux-amd64.tar.gz"
9+ oaut2_proxy_http_sha256 : " a491ca18059848c356935fe2ca9e665faafe4bba3ee1ecbac5a5f5f193195a82 "
1010oauth2_user : " oauth2"
1111oauth2_dir : " /var/oauth2_proxy"
1212oauth2_dir_tmp : " /var/oauth2_proxy/tmp"
@@ -19,15 +19,15 @@ oauth2_filename : "{{ oauth2_compress_filename |replace
1919oauth2_proxy_config :
2020 http_address : " 127.0.0.1:5000"
2121 upstreams : [ "127.0.0.1:6060" ]
22- provider : " github"
22+ provider : " github"
2323 email-domain : " *"
2424 cookie-secure : false
2525 cookie-domain : " localhost:5000"
2626 cookie_secret : " COOK_SECRET"
2727 client_id : " YOUR_CLIENT_ID"
2828 client_secret : " CLIENT_SECERET"
2929
30- oauth2_config_cmdline_args : " -github-org='MYCoolORg'"
30+ oauth2_config_cmdline_args : " -- github-org='MYCoolORg'"
3131` ` `
3232
3333
Original file line number Diff line number Diff line change 11---
22
3- 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"
4- oaut2_proxy_http_sha256 : " c6d8f6d74e1958ce1688f3cf7d60648b9d0d6d4344d74c740c515a00b4e023ad "
3+ oaut2_proxy_http : " https://github.com/oauth2-proxy/oauth2-proxy /releases/download/v7.1.3/oauth2-proxy-v7.1.3. linux-amd64.tar.gz"
4+ oaut2_proxy_http_sha256 : " a491ca18059848c356935fe2ca9e665faafe4bba3ee1ecbac5a5f5f193195a82 "
55oauth2_user : " oauth2"
66oauth2_dir : " /var/oauth2_proxy"
77oauth2_dir_tmp : " /var/oauth2_proxy/tmp"
@@ -14,12 +14,12 @@ oauth2_filename : "{{ oauth2_compress_filename |replace
1414oauth2_proxy_config :
1515 http_address : " 127.0.0.1:5000"
1616 upstreams : [ "127.0.0.1:6060" ]
17- provider : " github"
17+ provider : " github"
1818 email-domain : " *"
1919 cookie-secure : false
2020 cookie-domain : " localhost:5000"
2121 cookie_secret : " COOK_SECRET"
2222 client_id : " YOUR_CLIENT_ID"
2323 client_secret : " CLIENT_SECERET"
2424
25- oauth2_config_cmdline_args : " -github-org='MYCoolORg'"
25+ oauth2_config_cmdline_args : " -- github-org='MYCoolORg'"
Original file line number Diff line number Diff line change 1717PATH=/sbin:/usr/sbin:/bin:/usr/bin
1818DESC=" A reverse proxy that provides authentication with Google, Github or other provider"
1919NAME=` basename $0 `
20- DAEMON={{ oauth2_dir }}/current/oauth2_proxy
21- DAEMON_ARGS=" -config={{ oauth2_config_path }} {{ oauth2_config_cmdline_args }}"
20+ DAEMON={{ oauth2_dir }}/current/oauth2-proxy
21+ DAEMON_ARGS=" -- config={{ oauth2_config_path }} {{ oauth2_config_cmdline_args }}"
2222PIDFILE=/var/run/$NAME .pid
2323SCRIPTNAME=/etc/init.d/oauth2-proxy
2424USER={{ oauth2_user }}
@@ -160,4 +160,4 @@ case "$1" in
160160 ;;
161161esac
162162
163- :
163+ :
You can’t perform that action at this time.
0 commit comments