Skip to content
Snippets Groups Projects
Commit d537f788 authored by shirenn's avatar shirenn 🌊
Browse files

Merge branch 'linx' into 'newinfra'

[linx] pepcrans :)

See merge request !207
parents bc486b55 7cd62269
No related branches found
No related tags found
1 merge request!207[linx] pepcrans :)
---
glob_linx:
siteurl: "https://linx.crans.org/"
name: "CRANS Linx"
---
loc_linx:
ip: "{{ query('ldap', 'ip', 'linx', 'adm') | first }}"
......@@ -67,6 +67,9 @@ sam.adm.crans.org
daniel.adm.crans.org
jack.adm.crans.org
[linx]
linx.adm.crans.org
[monitoring]
monitoring.adm.crans.org
......
#!/usr/bin/env ansible-playbook
---
- hosts: linx.adm.crans.org
- hosts: linx
vars:
linx:
ip: "{{ query('ldap', 'ip', 'linx', 'adm') }}"
siteurl: "https://linx.crans.org/"
linx: "{{ glob_linx | default({}) | combine(loc_linx | default({})) }}"
roles:
- linx
{{ ansible_header | comment }}
bind = {{ linx.ip }}:8080
sitename = CRANS Linx
sitename = {{ linx.name }}
siteurl = {{ linx.siteurl }}
maxsize = 10000000
maxexpiry = 604800
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment