Skip to content

Commit 0198462

Browse files
committed
wazuh: Use relative path to roles
This allows us to install the role anywhere.
1 parent 99a0fed commit 0198462

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

etc/kayobe/ansible/wazuh-manager.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
# Certificates generation
3636
- hosts: localhost
3737
roles:
38-
- role: "{{ playbook_dir }}/roles/wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-indexer"
38+
- role: "wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-indexer"
3939
perform_installation: false
4040
become: no
4141
tags:
@@ -45,10 +45,10 @@
4545
become: yes
4646
become_user: root
4747
roles:
48-
- role: "{{ playbook_dir }}/roles/wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-indexer"
49-
- role: "{{ playbook_dir }}/roles/wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-wazuh-manager"
50-
- role: "{{ playbook_dir }}/roles/wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-filebeat-oss"
51-
- role: "{{ playbook_dir }}/roles/wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-dashboard"
48+
- role: "wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-indexer"
49+
- role: "wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-wazuh-manager"
50+
- role: "wazuh-ansible/wazuh-ansible/roles/wazuh/ansible-filebeat-oss"
51+
- role: "wazuh-ansible/wazuh-ansible/roles/wazuh/wazuh-dashboard"
5252
post_tasks:
5353
- block:
5454
- name: Check if custom SCA policies directory exists

0 commit comments

Comments
 (0)