Skip to content

Commit

Permalink
Add call to custom module to handle lemonldap conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Vanden Broeck committed Jun 26, 2024
1 parent efd22d8 commit b3e2724
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roles/vhost/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
---
# tasks file for vhost
- name: Configure vhost on LemonLDAP::NG side
worteks.lemonldap.vhost:
vhostname: '{{ item.vhostname }}'
access_rules: '{{ item.access_rules }}'
exported_headers: '{{ item.exported_headers }}'
force: '{{ item.force | default(false) }}'
https: '{{ item.https | default(true) }}'
maintenance: '{{ item.maintenance | default(false) }}'
loop: '{{ vhost_vhosts }}'

- name: Configure vhost on nginx
ansible.builtin.template:
src: nginx_vhost.j2
Expand Down

0 comments on commit b3e2724

Please sign in to comment.