From aaebecfc535c18e510e11a21088d52601a5823e0 Mon Sep 17 00:00:00 2001 From: Alexander Dietrich Date: Sat, 18 Feb 2017 14:29:20 +0100 Subject: [PATCH] Add srv03 --- host_vars/srv03 | 3 +++ host_vars/srv04 | 2 -- production | 11 +++++------ site | 3 +++ 4 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 host_vars/srv03 create mode 100755 site 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 $*