8025-awxRefactor-debianBootStrap-FinishWorks #32

Merged
juan merged 6 commits from 8025-awxRefactor-debianBootStrap-FinishWorks into main 2024-10-18 07:17:30 +00:00
5 changed files with 7 additions and 3 deletions
Showing only changes of commit 83110e0dca - Show all commits

View File

@ -1,3 +1,4 @@
root_password: Pa$$w0rd
vn_witness: false
default_user: user
root_password: Pa$$w0rd

View File

@ -1,5 +1,7 @@
- import_tasks: witness.yml
tags: witness
- import_tasks: root.yml
tags: root
- import_tasks: resolv.yml
tags: resolv
- import_tasks: timesync.yml

View File

@ -13,6 +13,7 @@
}}
environment:
PASSBOLT_CREATE_NEW_RESOURCE: true
when: vn_witness
- name: Save the root password to file
copy:
content: "{{ root_password }}\n"
@ -20,7 +21,10 @@
owner: root
group: root
mode: '0600'
when: vn_witness
register: local
- name: Change root password
user:
name: root
password: "{{ root_password | password_hash('sha512') }}"
when: local.changed

View File

@ -1 +0,0 @@
root_password: Pa$$w0rd

View File

@ -1,2 +0,0 @@
- import_tasks: root.yml
tags: root