You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zabbix_agent module execution was failed when I use ansible-base==2.10.1 .
the message is "ERROR! couldn't resolve module/action 'win_service'. This often indicates a misspelling, missing collection, or incorrect module path."
from ansible 2.10, community module/collecton was separated into different package.
and win_service module also was sepalated into ansible.windows collection.
actually community.zabbix.zabbix_agent use win_service module, but ansible.windows is not described in community.zabbix as a dependency.
// I'm sorry, I wasn't sure this dependency should be resolved by user or collection.
// ansible 2.10 changes are big for me...
ansible-playbook -i hosts.yml -l fit.pplc.co, site.yml
ERROR! couldn't resolve module/action 'win_service'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/Users/taisyo/repositories/xxx/galaxy_collections/ansible_collections/community/zabbix/roles/zabbix_agent/handlers/main.yml': line 17, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: restart win zabbix agent
^ here
The text was updated successfully, but these errors were encountered:
miettal
changed the title
zabbix_agent require ansible.windows.win_service
zabbix_agent require ansible.windows.win_service (ansible 2.10.1)
Oct 2, 2020
SUMMARY
zabbix_agent module execution was failed when I use ansible-base==2.10.1 .
the message is "ERROR! couldn't resolve module/action 'win_service'. This often indicates a misspelling, missing collection, or incorrect module path."
from ansible 2.10, community module/collecton was separated into different package.
and win_service module also was sepalated into ansible.windows collection.
actually community.zabbix.zabbix_agent use win_service module, but ansible.windows is not described in community.zabbix as a dependency.
// I'm sorry, I wasn't sure this dependency should be resolved by user or collection.
// ansible 2.10 changes are big for me...
ISSUE TYPE
COMPONENT NAME
community.zabbix.zabbix_agent
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT / Zabbix Version
mac
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
successful execution
The text was updated successfully, but these errors were encountered: