Skip to content

Commit

Permalink
Add parameter to install dependencies into server and dashboard test
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaffieri committed Dec 27, 2024
1 parent b95556c commit ea20baa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

tasks:
- name: Install Wazuh dashboard
command: "bash wazuh-install.sh -wd {{ inventory_hostname }} -v -d {{ pkg_repository }}"
command: "bash wazuh-install.sh -wd {{ inventory_hostname }} -v -d {{ pkg_repository }} -id"
args:
chdir: "{{ tmp_path }}"
register: dashboard
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

tasks:
- name: Install Wazuh server on master
command: "bash {{ tmp_path }}/wazuh-install.sh -ws {{ inventory_hostname }} -v -d {{ pkg_repository }}"
command: "bash {{ tmp_path }}/wazuh-install.sh -ws {{ inventory_hostname }} -v -d {{ pkg_repository }} -id"
register: wazuh
when: hostvars[inventory_hostname].manager_type == 'master'

Expand All @@ -31,5 +31,5 @@
command: "bash {{ tmp_path }}/wazuh-install.sh -ws {{ inventory_hostname }} -v -d {{ pkg_repository }}"
register: wazuh
when: hostvars[inventory_hostname].manager_type == 'worker'


0 comments on commit ea20baa

Please sign in to comment.