Password tasks updated

This commit is contained in:
Gonzalo Acuña 2022-05-19 16:39:00 -03:00
parent 2aaed52649
commit 41dfecbdf8
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270
2 changed files with 1 additions and 3 deletions

View File

@ -36,7 +36,7 @@ jobs:
ANSIBLE_FORCE_COLOR: '1' ANSIBLE_FORCE_COLOR: '1'
scenario-distributed-wazuh: scenario-distributed-wazuh:
name: Distributed ODFE + Wazuh name: Distributed Wazuh
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out the codebase. - name: Check out the codebase.

View File

@ -60,7 +60,6 @@
replace: "{{ indexer_password_hash | quote }}" replace: "{{ indexer_password_hash | quote }}"
vars: vars:
indexer_password_hash: "{{ indexer_admin_password_hashed.stdout_lines | last }}" indexer_password_hash: "{{ indexer_admin_password_hashed.stdout_lines | last }}"
run_once: true
# this can also be achieved with password_hash, but it requires dependencies on the controller # this can also be achieved with password_hash, but it requires dependencies on the controller
- name: Hash the kibanaserver role/user pasword - name: Hash the kibanaserver role/user pasword
@ -78,7 +77,6 @@
replace: "{{ indexer_password_hash | quote }}" replace: "{{ indexer_password_hash | quote }}"
vars: vars:
indexer_password_hash: "{{ indexer_kibanaserver_password_hashed.stdout_lines | last }}" indexer_password_hash: "{{ indexer_kibanaserver_password_hashed.stdout_lines | last }}"
run_once: true
- name: Initialize the Opensearch security index in Wazuh indexer - name: Initialize the Opensearch security index in Wazuh indexer
command: > command: >