summaryrefslogtreecommitdiff
path: root/roles/nginx/auth/sso/base/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/auth/sso/base/tasks/main.yml')
-rw-r--r--roles/nginx/auth/sso/base/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/nginx/auth/sso/base/tasks/main.yml b/roles/nginx/auth/sso/base/tasks/main.yml
new file mode 100644
index 00000000..dbae0bd4
--- /dev/null
+++ b/roles/nginx/auth/sso/base/tasks/main.yml
@@ -0,0 +1,6 @@
+---
+- name: generate nginx snippets
+ loop: "{{ nginx_sso_backends | dict2items }}"
+ template:
+ src: nginx.snippet.j2
+ dest: "/etc/nginx/snippets/sso-{{ item.key }}.conf"