Skip to content

Commit

Permalink
Revert "Use external auth for CycleCloud Proxy. (#1754)" (#1755)
Browse files Browse the repository at this point in the history
This reverts commit 18e4943.
  • Loading branch information
xpillons authored Nov 10, 2023
1 parent 18e4943 commit 01195aa
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions playbooks/ood.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@
state: latest
lock_timeout : 180

- name: Set up mod_authnz_external modules (for cyclecloud proxy)
yum:
name: mod_authnz_external
lock_timeout: 180
- name: Set up PAM authentication for OOD
include_role:
name: ood_pam_auth

- name: Retrieve OIDC secret
block:
Expand Down Expand Up @@ -233,13 +232,12 @@
if ! grep -q {{ccportal_name}} /opt/ood/ood-portal-generator/templates/ood-portal.conf.erb; then
cd /root
cat << EOF > cyclecloud_proxy
DefineExternalAuth pwauth pipe /usr/bin/pwauth
SetEnv OOD_CC_URI "/cyclecloud"
<Location "/cyclecloud">
AuthType Basic
AuthName "Open OnDemand"
AuthBasicProvider external
AuthExternal pwauth
AuthBasicProvider PAM
AuthPAMService ood
Require valid-user
ProxyPass http://{{ccportal_name}}:80/cyclecloud
Expand Down

0 comments on commit 01195aa

Please sign in to comment.