Premier commit
This commit is contained in:
10
roles/sshk/tasks/main.yml
Normal file
10
roles/sshk/tasks/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
|
||||
- name: creation user admu
|
||||
user: name=admu comment="admu" shell=/bin/bash
|
||||
|
||||
- name: Copie cle ssh
|
||||
authorized_key: user=root key="{{lookup('file','/home/admu/.ssh/id_rsa_pub') }}"
|
||||
|
||||
|
Reference in New Issue
Block a user