Compare commits

..

3 commits

Author SHA1 Message Date
b9861ccc8e hosts: Update kvm host 2024-07-03 21:53:01 +02:00
0f86386d6e Add www playbook 2024-07-03 21:52:34 +02:00
a31ed367dd common: Include the name of the user in authorized_keys 2024-07-03 21:51:51 +02:00
4 changed files with 10 additions and 1 deletions

View file

@ -2,3 +2,4 @@
- hosts: debian - hosts: debian
roles: roles:
- common - common
- common-bitlair

View file

@ -5,7 +5,7 @@ all:
bank-pi.bitlair.nl: bank-pi.bitlair.nl:
kvm: kvm:
hosts: hosts:
kvm3.bitlair.nl: kvm4.bitlair.nl:
debian: debian:
children: children:
bank: bank:

View file

@ -1,5 +1,6 @@
# Managed by Ansible # Managed by Ansible
{% for name in root_access %} {% for name in root_access %}
# {{ name }}
{{ lookup('file', 'authorized_keys/'+name+'.keys') }} {{ lookup('file', 'authorized_keys/'+name+'.keys') }}
{% endfor %} {% endfor %}

7
www.yaml Normal file
View file

@ -0,0 +1,7 @@
---
- hosts: wiki
roles:
- common
- common-bitlair
- acme
- www