Re: [ansible-project] How to import/load env/ini file that is located in file on the Remote/Target server?

2019-02-01 Thread Chaz_E
l ended up really ugly, and un-readable for the next guy. I am actually shocked that this is not a mainstream feature. Like sourcing in an ENV file in a script. On Monday, January 14, 2019 at 2:01:33 PM UTC-5, Hugo Gonzalez wrote: > > Hi Chaz, > On 1/14/19 11:02 AM, Chaz_E wrote: > >

Re: [ansible-project] How to import/load env/ini file that is located in file on the Remote/Target server?

2019-01-14 Thread Chaz_E
like a file that should be source > controlled/with the ansible playbooks/roles etc > > > On Friday, January 11, 2019 at 9:56:35 AM UTC+13, Hugo Gonzalez wrote: >> >> Hello Chaz, >> On 1/10/19 11:00 AM, Chaz_E wrote: >> >> QUESTION: How can we load or impor

[ansible-project] Re: How to import/load env/ini file that is located in file on the Remote/Target server?

2019-01-10 Thread Chaz_E
FYI: I have tried with_ini -- but it seems that maybe limited to the controlling/initiating server, and/or maybe the with_ini loop feature is not available in Ansible 2.4 On Thursday, January 10, 2019 at 12:00:25 PM UTC-5, Chaz_E wrote: > > QUESTION: How can we load or import an env/in

[ansible-project] How to import/load env/ini file that is located in file on the Remote/Target server?

2019-01-10 Thread Chaz_E
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