Insert hosts and host variables into a python script

21 views
Skip to first unread message

Dana Christo

unread,
Jul 28, 2016, 7:14:05 PM7/28/16
to Ansible Project
Hello,

Is it possible to take a hostname and other information in the hosts file and insert each one into a python file as an ansible playbook runs the python file for each host?

Artyom Aleksandrov

unread,
Aug 8, 2016, 8:54:48 AM8/8/16
to Ansible Project
Yes it possible.
Reply all
Reply to author
Forward
0 new messages