Files
ansible/all.yaml
T
2017-11-28 22:58:00 +03:00

44 lines
1.6 KiB
YAML

- hosts: online
become: yes
roles:
- { role: adm }
- hosts: odroid
become: yes
roles:
- { role: apache2config }
- { role: tomcat8 }
vars:
tmpl:
- { file: "101-syncthing", value: 'Use ProxyHost "syncthing.rudolf" "/" "http://192.168.17.2:{{ syncthing_port }}/" "syncthing.rudolf"' }
- { file: "102-jenkins", value: 'Use ProxyHost "jenkins.rudolf" "/" "http://192.168.17.2:{{ jenkins_port }}/" "jenkins.rudolf"' }
- { file: "103-zabbix", value: 'Use ProxyHost "zabbix.rudolf" "/" "http://192.168.17.2/zabbix/" "zabbix.rudolf"' }
- { file: "torrent", value: 'Use ProxyHost "torrent.rudolf" "/transmission" "http://192.168.17.2:9091/transmission" "torrent.rudolf"' }
# - {file: "static", value: 'Use DocRootVHost "static.rudolf" "/home/www/static"' }
# - {file: "", value: '# TODO Header edit Location ^http://jenkins.rudolf.com.ua https://jenkins.rudolf.com.ua' }
# - {file: "webmin", value: 'Use ProxySSLVHost "webmin.rudolf" "/" "http://localhost:10000/" "webmin.rudolf"' }
# - {file: "", value: 'Use ProxySSLVHost "bitsync.rudolf" "/" "http://localhost:8888/" "bitsync.rudolf"' }
domains:
- rudolf.com.ua
- jenkins.rudolf.com.ua
- syncthing.rudolf.com.ua
- smarthome.rudolf.com.ua
- torrent.rudolf.com.ua
- zabbix.rudolf.com.ua
# - part.syncthing.rudolf.com.ua
# - static.rudolf.com.ua
# - dev.rudolf.com.ua
# - ejudge.rudolf.com.ua
# - webmin.rudolf.com.ua
# - bitsync.rudolf.com.ua
# - wa.rudolf.com.ua
- hosts: serva4og
become: yes
roles:
- { role: gogs }
- { role: jenkins }