Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Configure zabbix-agent #1311

Merged

Conversation

david-sieg
Copy link
Contributor

SUMMARY

Sets template src to 'agent.conf.j2' which is also used by Linux tasks.

linux task

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ansible.windows.win_template

template task

ADDITIONAL INFORMATION

- name: "Windows | Configure zabbix-agent"
  ansible.windows.win_template:
    src: "{{ zabbix_win_config_name }}.j2"
    dest: "{{ zabbix_win_install_dir_conf }}\\{{ zabbix_win_config_name }}"
  notify: restart win zabbix agent
  tags:
    - config
    
- name: "Windows | Configure zabbix-agent"
  ansible.windows.win_template:
    src: agent.conf.j2
    dest: "{{ zabbix_win_install_dir_conf }}\\{{ zabbix_win_config_name }}"
  notify: restart win zabbix agent
  tags:
    - config

@david-sieg
Copy link
Contributor Author

#1310

@pyrodie18 pyrodie18 merged commit 54e8174 into ansible-collections:main Jun 30, 2024
102 checks passed
emrocha pushed a commit to emrocha/community.zabbix that referenced this pull request Jul 1, 2024
@david-sieg david-sieg deleted the fix_configure_zabbix_agent_win branch July 2, 2024 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants