chgt role sshcli
This commit is contained in:
parent
ea513e616d
commit
7c01d0aa18
@ -6,9 +6,20 @@
|
|||||||
mode: 0700
|
mode: 0700
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: Copie cle publiique depuis s-adm
|
- name: Copie cle publique depuis s-adm
|
||||||
ansible.posix.authorized_key:
|
ansible.posix.authorized_key:
|
||||||
user: root
|
user: root
|
||||||
state: present
|
state: present
|
||||||
key: http://s-adm.gsb.adm/id_rsa.pub
|
key: http://s-adm.gsb.adm/id_rsa.pub
|
||||||
|
|
||||||
|
- name: Creation user gsbadm
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: gsbadm
|
||||||
|
groups: sudo
|
||||||
|
append: yes
|
||||||
|
|
||||||
|
- name: Copie cle publique oour gsbadm depuis s-adm
|
||||||
|
ansible.posix.authorized_key:
|
||||||
|
user: gsbadm
|
||||||
|
state: present
|
||||||
|
key: http://s-adm.gsb.adm/id_rsa.pub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user