Skip to content

Commit

Permalink
fix for #1361
Browse files Browse the repository at this point in the history
  • Loading branch information
Japje committed Aug 7, 2024
1 parent 760b134 commit c4f6e9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/1361_userparameters_fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- zabbix_agent Role - Fix for userparameter because include_dir is list #1361
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 }}/userparameter_{{ item.name }}.conf"
dest: "{{ zabbix_agent_include_dir | first }}/userparameter_{{ item.name }}.conf"
owner: zabbix
group: zabbix
mode: "0644"
Expand Down

0 comments on commit c4f6e9e

Please sign in to comment.