How to filter plugins access vars from host

7 views
Skip to first unread message

Rafael Tomelin

unread,
Oct 21, 2020, 10:49:55 AM10/21/20
to ansible...@googlegroups.com

Hi,

I create a new filter plugin but the plugin needs to get vars from the host.  How to get the vars in python filter plugins?

--
Atenciosamente,

Rafael Tomelin
Tel.: 51-984104084
Skype: rafael.tomelin

LPI ID: LPI000191271
Red Hat Certified Engineer
Puppet Professional 2017 Certification

Matt Martz

unread,
Oct 21, 2020, 10:54:22 AM10/21/20
to ansible...@googlegroups.com
Filter plugins must be passed data, they do not have access to anything other than what they are given.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAGEUqbCfxUNeisKqmZ1PmrpRLzYLnOqNvZ9gx9XUwJZu%3Dm8Lnw%40mail.gmail.com.


--
Matt Martz
@sivel
sivel.net
Reply all
Reply to author
Forward
0 new messages