QUESTION: How can we load or import an env/ini file that is located in 
a file on the Remote/Target server?

GOAL:
We have an env/ini file on the remote/target server.
We want to read in that file and use the values as variables for the tasks 
on that machine.
( FYI: Our process does not allow for saving these variables in the 
Inventory - even though that would be nice. )

Here is an example of what our ini/env file looks like:
Path: /devops/properties/Admin.properties
username = FooAdmin
password = bar123XYZ
activate = no
(Basically property format or ini format without any sections)

ANSIBLE ENVIRONMENT:
We are running playbook jobs from Ansible Tower 2.5.10
Remote / target machines have Ansible 2.4.2.0 & Python 2.7.5
( FYI: We are probably 6months to 1 year away from updating to newer 
versions - even though that'd be nice too. )

Thanks in advance for any help.
-Chaz

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/ae81f6dd-7315-45b4-bc60-65b5edea6336%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to