role ssh-cli
This commit is contained in:
parent
fa000f3116
commit
5224ae00cd
@ -1,10 +1,14 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: Creation de .ssh
|
- name: Creation de .ssh
|
||||||
file: path=/root/.ssh mode=0700 state=directory
|
file:
|
||||||
|
path: /root/.ssh
|
||||||
|
mode: 0700
|
||||||
|
state: directory
|
||||||
|
|
||||||
- name: Copie cle public s-adm
|
- name: Copie cle publiique depuis s-adm
|
||||||
shell: curl 192.168.99.99/id_rsa.pub > ~/.ssh/authorized_keys
|
ansible.posix.authorized_key:
|
||||||
|
user: root
|
||||||
|
state: present
|
||||||
|
key: http://s-adm.gsb.adm/id_rsa.pub
|
||||||
|
|
||||||
#- name: Copie cle public s-spec
|
|
||||||
# shell: curl 192.168.99.10/id_rsa.pub >> ~/.ssh/authorized_keys
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user