Files
infra/all.yaml
T
2018-05-02 23:12:40 +03:00

56 lines
1.9 KiB
YAML

- hosts: online
become: yes
roles:
- { role: adm }
- hosts: odroid
become: yes
roles:
- { role: apache2config }
- { role: tomcat8 }
- { role: metricbeat }
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://94.177.197.15:8081/" "zabbix.rudolf"' }
- { file: "104-ssh", value: 'Use ProxyHost "sh.rudolf" "/" "http://192.168.17.4:4200/" "sh.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
- sh.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
metricbeat_es_user: "metricbeat"
metricbeat_es_password: "metricbeat"
metricbeat_kibana_index: "metricbeat"
elasticsearch_host: "192.168.17.2:9200"
- hosts: serva4og
become: yes
roles:
# - { role: gogs }
# - { role: jenkins }
- hosts: main
become: yes
roles:
- { role: jdk }