...
 
Commits (2)
......@@ -7,7 +7,7 @@
nginx_default_hostname: 'pandora.smith.bz'
nginx_proxy_hosts:
fred.smith.bz:
aliases: [derf.us, fredsmith.us, fredsmith.org, fredsmith.net, www.derf.us, www.fredsmith.us, www.fredsmith.net, www.fredsmith.org]
aliases: [derf.us, derf.red, www.derf.red, fredsmith.us, fredsmith.org, fredsmith.net, www.derf.us, www.fredsmith.us, www.fredsmith.net, www.fredsmith.org]
repo: "https://{{ GIT_CREDENTIALS }}@git.smith.bz/derf/fred-smith-bz.git"
ssl: true
indexes: true
......@@ -44,10 +44,6 @@
backend: "http://10.7.0.16:80"
ssl: true
auth: true
garage.smith.bz:
backend: "http://10.7.0.18:8081"
ssl: true
auth: true
git.smith.bz:
backend: "https://10.7.0.85:3001"
ssl: true
......@@ -99,14 +95,14 @@
files.derf.us:
ssl: true
owner: "derf"
aliases: [ files.smith.bz, get.derf.us, get.smith.bz ]
aliases: [ files.smith.bz, files.derf.red, get.derf.us, get.smith.bz, get.derf.red ]
repo: "https://{{ GIT_CREDENTIALS }}@git.smith.bz/derf/files.derf.us.git"
xicada.net:
aliases: [ xicada.com, xicada.org, www.xicada.com, www.xicada.net, www.xicada.org ]
ssl: true
repo: "https://{{ GIT_CREDENTIALS }}@git.smith.bz/derf/xicada.git"
smith.bz:
aliases: [ www.smith.bz, fredandjess.com, jessandfred.com, www.fredandjess.com, www.jessandfred.com, www.smithfamily.space ]
aliases: [ www.smith.bz ]
ssl: true
repo: "https://{{ GIT_CREDENTIALS }}@git.smith.bz/derf/smith.bz.git"
......
......@@ -61,6 +61,7 @@
git:
dest: "{{ nginx_proxy_static_root }}/{{ item.key }}"
repo: "{{ item.value.repo }}"
version: "{{ item.value.branch | default('master') }}"
when: item.value.repo is defined
with_dict: "{{ nginx_proxy_hosts }}"
tags:
......