good start

This commit is contained in:
2023-04-26 15:34:45 +02:00
parent 73f7d667bf
commit 11bda1cc7b
12 changed files with 110 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
- name: add ssh keys
ansible.posix.authorized_key:
user: "{{ ansible_user }}"
state: present
# copy file present on the controller to the remote host
# https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html
key: "{{ lookup('file', '~/.ssh/default.pub') }}"

View File

@@ -0,0 +1,2 @@
- name: copy
include_tasks: copy.yml