copy
This commit is contained in:
parent
5c5e8578b7
commit
9f5b8e72f4
@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: "Deploy basic webhost with Docker"
|
||||
hosts: docker-webhosts
|
||||
hosts: dockerwebhosts
|
||||
roles:
|
||||
- netplan
|
||||
- common
|
||||
|
@ -9,7 +9,6 @@ all:
|
||||
neko:
|
||||
drone:
|
||||
keycloak:
|
||||
sonar:
|
||||
swagger:
|
||||
drone-runner:
|
||||
smtp:
|
||||
@ -24,7 +23,7 @@ all:
|
||||
bitwarden:
|
||||
nextcloud:
|
||||
backup:
|
||||
docker-webhosts:
|
||||
dockerwebhosts:
|
||||
keycloak:
|
||||
drone:
|
||||
swagger:
|
||||
|
@ -12,9 +12,11 @@
|
||||
groups: sudo
|
||||
append: yes
|
||||
|
||||
- name: Add public key to authorized keys
|
||||
ansible.posix.authorized_key:
|
||||
user: ansible
|
||||
state: present
|
||||
key: authorized_keys
|
||||
- name: Copy authorized_keys
|
||||
copy:
|
||||
src: authorized_keys
|
||||
dest: /home/ansible/.ssh/authorized_keys
|
||||
mode: 0600
|
||||
owner: ansible
|
||||
group: ansible
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user