Skip to content

Commit

Permalink
Support include_dir being both a string and a list
Browse files Browse the repository at this point in the history
  • Loading branch information
Japje authored Aug 9, 2024
1 parent c4f6e9e commit 34b8280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/zabbix_agent/tasks/userparameter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- name: Install user-defined userparameters
ansible.builtin.template:
src: "{{ zabbix_agent_userparameters_templates_src }}/{{ item.name }}.j2"
dest: "{{ zabbix_agent_include_dir | first }}/userparameter_{{ item.name }}.conf"
dest: "{{ zabbix_agent_include_dir if zabbix_agent_include_dir is string else zabbix_agent_include_dir | first }}/userparameter_{{ item.name }}.conf"
owner: zabbix
group: zabbix
mode: "0644"
Expand Down

0 comments on commit 34b8280

Please sign in to comment.