Merge branch 'ethercalc_newinfra' into 'newinfra'

ethercalc on new infra

See merge request nounous/ansible!95
certbot_on_virtu
_pollion 2020-09-22 22:52:51 +02:00
commit 78833313bc
5 changed files with 13 additions and 1 deletions

View File

@ -52,6 +52,7 @@ nginx:
- {from: phabricator.crans.org, to: 172.16.10.116}
- {from: trackerusercontent.crans.org, to: 172.16.10.116}
- {from: wiki.crans.org, to: 172.16.10.161}
- {from: ethercalc.crans.org, to: "172.16.10.133:8000"}
# - {from: mailman.crans.org, to: 10.231.136.180}
#
# # Zamok

View File

@ -0,0 +1,2 @@
ethercalc:
ipv4: '172.16.10.133'

4
hosts
View File

@ -33,6 +33,9 @@ frontdaur.adm.crans.org
[roundcube]
roundcube-srv.adm.crans.org
[ethercalc]
ethercalc-srv.adm.crans.org
[horde]
horde-srv.adm.crans.org
@ -95,6 +98,7 @@ casouley.adm.crans.org
kiwi.adm.crans.org
tracker.adm.crans.org
jitsi.adm.crans.org
ethercalc-srv.adm.crans.org
[ovh_physical]
sputnik.adm.crans.org

View File

@ -0,0 +1,5 @@
#!/usr/bin/env ansible-playbook
---
- hosts: ethercalc
roles:
- ethercalc

View File

@ -11,7 +11,7 @@ RestartSec=3
User=redis
Group=redis
PIDFile=/var/run/ethercalc.pid
ExecStart=/usr/bin/ethercalc --host 10.231.136.203 --port 8000
ExecStart=/usr/bin/ethercalc --host {{ ethercalc.ipv4 }} --port 8000
[Install]
WantedBy=multi-user.target