Update username param on sample playbook

This commit is contained in:
Manuel Gutierrez 2020-10-26 19:32:12 +01:00
parent b679c7d185
commit f345ec1439
No known key found for this signature in database
GPG Key ID: CEB8789DAED15AAD

View File

@ -38,7 +38,7 @@
ip: "{{ hostvars.kibana.private_ip }}" ip: "{{ hostvars.kibana.private_ip }}"
tags: tags:
- generate-certs - generate-certs
#ODFE Cluster #ODFE Cluster
- hosts: odfe_cluster - hosts: odfe_cluster
strategy: free strategy: free
@ -76,7 +76,7 @@
node6: node6:
name: node-6 name: node-6
ip: "{{ hostvars.kibana.private_ip }}" ip: "{{ hostvars.kibana.private_ip }}"
#Wazuh cluster #Wazuh cluster
- hosts: manager - hosts: manager
roles: roles:
@ -105,7 +105,7 @@
- "{{ hostvars.es1.private_ip }}" - "{{ hostvars.es1.private_ip }}"
- "{{ hostvars.es2.private_ip }}" - "{{ hostvars.es2.private_ip }}"
- "{{ hostvars.es3.private_ip }}" - "{{ hostvars.es3.private_ip }}"
- hosts: worker - hosts: worker
roles: roles:
- role: "../roles/wazuh/ansible-wazuh-manager" - role: "../roles/wazuh/ansible-wazuh-manager"
@ -134,7 +134,7 @@
- "{{ hostvars.es1.private_ip }}" - "{{ hostvars.es1.private_ip }}"
- "{{ hostvars.es2.private_ip }}" - "{{ hostvars.es2.private_ip }}"
- "{{ hostvars.es3.private_ip }}" - "{{ hostvars.es3.private_ip }}"
#ODFE+Kibana node #ODFE+Kibana node
- hosts: kibana - hosts: kibana
roles: roles:
@ -161,7 +161,7 @@
- id: default - id: default
url: https://{{ hostvars.manager.private_ip }} url: https://{{ hostvars.manager.private_ip }}
port: 55000 port: 55000
user: foo username: foo
password: bar password: bar
instances: instances:
node1: node1:
@ -181,4 +181,4 @@
ip: "{{ hostvars.worker.private_ip }}" ip: "{{ hostvars.worker.private_ip }}"
node6: node6:
name: node-6 name: node-6
ip: "{{ hostvars.kibana.private_ip }}" ip: "{{ hostvars.kibana.private_ip }}"