chgt role sshcli

This commit is contained in:
root 2024-01-29 17:01:48 +01:00
parent ea513e616d
commit 7c01d0aa18

View File

@ -6,9 +6,20 @@
mode: 0700
state: directory
- name: Copie cle publiique depuis s-adm
- name: Copie cle publique depuis s-adm
ansible.posix.authorized_key:
user: root
state: present
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