From 6bf44fa4948adeefc5c7e3cdc686e10b03665581 Mon Sep 17 00:00:00 2001 From: IDEZ Ugo Date: Wed, 24 Nov 2021 09:49:30 +0100 Subject: [PATCH] Controle Ansible --- sio2/sisr/ct-ansible/config | 3 +++ sio2/sisr/ct-ansible/user.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 sio2/sisr/ct-ansible/config diff --git a/sio2/sisr/ct-ansible/config b/sio2/sisr/ct-ansible/config new file mode 100644 index 0000000..2221f1e --- /dev/null +++ b/sio2/sisr/ct-ansible/config @@ -0,0 +1,3 @@ +host srv + user root + hostname 192.168.0.43 diff --git a/sio2/sisr/ct-ansible/user.yml b/sio2/sisr/ct-ansible/user.yml index bb401c4..ae16918 100644 --- a/sio2/sisr/ct-ansible/user.yml +++ b/sio2/sisr/ct-ansible/user.yml @@ -12,7 +12,7 @@ uid: 1200 groups: sudo append: yes - password: "{{ password }}" + password: "{{ 'Azerty1+' | password_hash('sha512') }}" register: mavar - name: debug