role awx actualisé

This commit is contained in:
root 2024-05-01 12:02:05 +02:00
parent aac0f13134
commit 8dd65d65eb
4 changed files with 14 additions and 3 deletions

View File

@ -5,7 +5,11 @@
name: awx name: awx
groups: sudo groups: sudo
append: yes append: yes
shell: /bin/bash
- name: Cration d'un mdp pour user awx
user:
name: awx
password: '$5$1POIEvs/Q.DHI4/6$RT6nl42XkekxTPKA/dktbnCMxL8Rfk8GAK7NxqL9D70'
- name: Get awx key_pub - name: Get awx key_pub
get_url: get_url:

View File

@ -7,6 +7,12 @@
shell: /bin/bash shell: /bin/bash
generate_ssh_key: yes 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 - name: Copie cle publique dans gsbstore
copy: copy:
src: /home/awx/.ssh/id_rsa.pub src: /home/awx/.ssh/id_rsa.pub

View File

@ -6,7 +6,7 @@
- base - base
- goss - goss
- ssh-cli - ssh-cli
- awx-user - awx-user-cli
#- awx #- awx
# - zabbix-cli # - zabbix-cli
- journald-snd - journald-snd

View File

@ -11,7 +11,8 @@
- dns-master - dns-master
- webautoconf - webautoconf
# - elk-filebeat-cli # - elk-filebeat-cli
# - journald-snd - journald-snd
- ssh-cli - ssh-cli
- awx-user-cli
- post - post