first commit
This commit is contained in:
10
serv-01-baselinux/tasks/sshkey.yml
Normal file
10
serv-01-baselinux/tasks/sshkey.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Set authorized key taken from file
|
||||
ansible.posix.authorized_key:
|
||||
user: ansible
|
||||
state: present
|
||||
key: "{{ lookup('file', '/home/ansible/.ssh/mikrotik_key2.pub') }}"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user