diff --git a/host_vars/srv03 b/host_vars/srv03 new file mode 100644 index 0000000..df080a5 --- /dev/null +++ b/host_vars/srv03 @@ -0,0 +1,3 @@ +ssl_certificate: /etc/ssl/certsync/updates.hamburg.freifunk.net.crt +ssl_certificate_key: /etc/ssl/certsync/updates.hamburg.freifunk.net.key +nginx_resolver: 80.252.105.162 80.252.105.194 diff --git a/host_vars/srv04 b/host_vars/srv04 index df080a5..78e3d10 100644 --- a/host_vars/srv04 +++ b/host_vars/srv04 @@ -1,3 +1 @@ -ssl_certificate: /etc/ssl/certsync/updates.hamburg.freifunk.net.crt -ssl_certificate_key: /etc/ssl/certsync/updates.hamburg.freifunk.net.key nginx_resolver: 80.252.105.162 80.252.105.194 diff --git a/production b/production index 30167d8..2301e4d 100644 --- a/production +++ b/production @@ -1,11 +1,10 @@ [services] -srv04 ansible_ssh_host=80.252.100.116 - -[updates] -srv04 +srv03 ansible_host=srv03.hamburg.freifunk.net +srv04 ansible_host=srv04.hamburg.freifunk.net [ffhh] +srv03 srv04 -[debian8] -srv04 +[updates] +srv03 diff --git a/site b/site new file mode 100755 index 0000000..b783acb --- /dev/null +++ b/site @@ -0,0 +1,3 @@ +#!/bin/bash + +ansible-playbook site.yml -i production -bK $*