15 lines
325 B
YAML
15 lines
325 B
YAML
---
|
|
- 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: 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
|