Ansible custom plugin path change

13 views
Skip to first unread message

Ansible Krazy

unread,
Jan 28, 2020, 2:27:04 AM1/28/20
to ansible...@googlegroups.com

Right now, by default custom plugins are stored in home directory : ~/.ansible/plugins/callback Our custom plugins are placed in comman directory : say : /var/ansible/plugin

We dont have comman user to login to perform production activities, so if we make some changes in plugin placed in command directory, we have to ask everyone to copy it into their home directories (~/.ansible/plugins/callback)

Is there a way to avoid asking people and make it general.

Thanks!

Stefan Hornburg (Racke)

unread,
Jan 28, 2020, 2:33:13 AM1/28/20
to ansible...@googlegroups.com
https://docs.ansible.com/ansible/latest/dev_guide/developing_locally.html#adding-a-plugin-locally

Regards
Racke

> --
> 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-proje...@googlegroups.com <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAPWPJXaj8_-MBzj_MJ0Y3mzp5nSOOJtxBaoju9qrwjxGbzHuaQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAPWPJXaj8_-MBzj_MJ0Y3mzp5nSOOJtxBaoju9qrwjxGbzHuaQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.

signature.asc

Ansible Krazy

unread,
Jan 28, 2020, 5:20:56 AM1/28/20
to ansible...@googlegroups.com
Thanks

Custom callback path is defined in custom ansible.cfg. Even after specifying that, it looks for everyone's home directory and always pick the one present in home directory ~/.ansible/plugins/callback

To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1571a158-cc9b-40fb-5977-9bd6eca0ea5c%40linuxia.de.
Reply all
Reply to author
Forward
0 new messages