Ok, thank you, can you please send me where that documentation is, the main 
document I read said nothing like that
http://docs.ansible.com/ansible/latest/zabbix_maintenance_module.html

Thank you

On Wednesday, 24 January 2018 02:39:09 UTC-5, Kai Stian Olstad wrote:
>
> On 24.01.2018 07:52, Andrew Morgan wrote: 
> > I keep getting the error: 
> > 
> > TASK [This is installation] 
> > ********************************************************** 
> > fatal: [zabbix_server]: FAILED! => {"changed": false, "msg": "Missing 
> > required zabbix-api module (check docs or install with: pip install 
> > zabbix-api)"} 
> >     to retry, use: --limit @/ansible/playbook.retry 
> > 
> > 
> > I have installed pip zabbix-api , zabbix_api, pyzabbix and neither 
> > works. I 
> > have even tried installing them to the targe directory ansible has as 
> > python module location /usr/lib/python2.6/site-packages/ansible 
> >  but I still get that error.Can someone please help. 
>
> In the documentation[1] is says 
> "Requirements (on host that executes module)" 
>
> So you need to install it on the remote host, zabbix_server in your 
> case. so just add this task to you play 
>
> - name: Install requirement 
>    pip: 
>      name: zabbix-api 
>
>
> [1] 
> http://docs.ansible.com/ansible/latest/zabbix_maintenance_module.html 
>
> -- 
> Kai Stian Olstad 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/2a76c04b-57f6-4d36-a88b-ea29b4c0ce6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to