Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions roles/validate/tasks/sub_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
rules: "{{ rules_path }}"
register: data_model
vars:
data_path: "{{ playbook_dir }}/host_vars/{{ inventory_hostname }}"
data_path: "{{ inventory_dir }}/host_vars/{{ inventory_hostname }}"
rules_path: "{{ role_path }}/files/rules/"
delegate_to: localhost

Expand All @@ -79,7 +79,7 @@
mdata: "{{ data_path }}"
rules: "{{ enhanced_rules_path }}"
vars:
data_path: "{{ playbook_dir }}/host_vars/{{ inventory_hostname }}"
data_path: "{{ inventory_dir }}/host_vars/{{ inventory_hostname }}"
when: enhanced_rules_path is defined and enhanced_rules_path
delegate_to: localhost

Expand Down