--- - name: Creation user awx, cle SSH et group sudo ansible.builtin.user: name: awx groups: sudo append: yes shell: /bin/bash generate_ssh_key: yes #- name: Creation mdp user awx # ansible.builtin.user: #name: #user: awx # password: '$5$1POIEvs/Q.DHI4/6$RT6nl42XkekxTPKA/dktbnCMxL8Rfk8GAK7NxqL9D70' - name: Copie cle publique dans gsbstore copy: src: /home/awx/.ssh/id_rsa.pub dest: /var/www/html/gsbstore/id_rsa_awx.pub remote_src: yes