blob: a410cfebfb6aba0df1f306b94256fe868c272dcc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
# TODO: create whawty-nginx-sso user?
- name: install nginx-sso package
apt:
name: whawty-nginx-sso
state: present
- name: generate nginx snippets
loop: "{{ whawty_nginx_sso_backends | dict2items }}"
loop_control:
label: "{{ item.key }}"
template:
src: nginx.snippet.j2
dest: "/etc/nginx/snippets/whawty-sso-{{ item.key }}.conf"
- name: install systemd service unit
template:
src: whawty-nginx-sso@.service.j2
dest: /etc/systemd/system/whawty-nginx-sso@.service
|