diff --git a/common.yaml b/common.yaml index 2f2247e..755110a 100644 --- a/common.yaml +++ b/common.yaml @@ -2,3 +2,4 @@ - hosts: debian roles: - common + - common-bitlair diff --git a/hosts.yaml b/hosts.yaml index 0dfe49b..c481f7d 100644 --- a/hosts.yaml +++ b/hosts.yaml @@ -5,7 +5,7 @@ all: bank-pi.bitlair.nl: kvm: hosts: - kvm3.bitlair.nl: + kvm4.bitlair.nl: debian: children: bank: diff --git a/roles/common-bitlair/templates/authorized_keys.j2 b/roles/common-bitlair/templates/authorized_keys.j2 index f310024..182dc36 100644 --- a/roles/common-bitlair/templates/authorized_keys.j2 +++ b/roles/common-bitlair/templates/authorized_keys.j2 @@ -1,5 +1,6 @@ # Managed by Ansible {% for name in root_access %} +# {{ name }} {{ lookup('file', 'authorized_keys/'+name+'.keys') }} {% endfor %} diff --git a/www.yaml b/www.yaml new file mode 100644 index 0000000..4ee6399 --- /dev/null +++ b/www.yaml @@ -0,0 +1,7 @@ +--- +- hosts: wiki + roles: + - common + - common-bitlair + - acme + - www