This commit is contained in:
Torma Kristóf 2022-04-16 23:42:52 +02:00
parent 5c5e8578b7
commit 9f5b8e72f4
4 changed files with 10 additions and 9 deletions

View File

@ -1,6 +1,6 @@
--- ---
- name: "Deploy basic webhost with Docker" - name: "Deploy basic webhost with Docker"
hosts: docker-webhosts hosts: dockerwebhosts
roles: roles:
- netplan - netplan
- common - common

View File

@ -9,7 +9,6 @@ all:
neko: neko:
drone: drone:
keycloak: keycloak:
sonar:
swagger: swagger:
drone-runner: drone-runner:
smtp: smtp:
@ -24,7 +23,7 @@ all:
bitwarden: bitwarden:
nextcloud: nextcloud:
backup: backup:
docker-webhosts: dockerwebhosts:
keycloak: keycloak:
drone: drone:
swagger: swagger:

View File

@ -12,9 +12,11 @@
groups: sudo groups: sudo
append: yes append: yes
- name: Add public key to authorized keys - name: Copy authorized_keys
ansible.posix.authorized_key: copy:
user: ansible src: authorized_keys
state: present dest: /home/ansible/.ssh/authorized_keys
key: authorized_keys mode: 0600
owner: ansible
group: ansible
... ...