Premier commit
This commit is contained in:
10
roles/ssh-cli/tasks/main.yml
Normal file
10
roles/ssh-cli/tasks/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
|
||||
- name: Creation de .ssh
|
||||
file: path=/root/.ssh mode=0700 state=directory
|
||||
|
||||
- name: Copie cle public s-adm
|
||||
shell: curl 192.168.99.99/id_rsa.pub > ~/.ssh/authorized_keys
|
||||
|
||||
#- name: Copie cle public s-spec
|
||||
# shell: curl 192.168.99.10/id_rsa.pub >> ~/.ssh/authorized_keys
|
Reference in New Issue
Block a user