On 12.08.2019 22:42, Steven Mething wrote:
The only way I can see is to bypass the default config in /etc/ansible/* and specify where ansible_hosts is on the command line? and run as svc2 and
not svc1 by default, can this be done?  if so how can I do this?   or
otherwise how can I guarantee complete isolation from production?

Create a directory and in that directory create a ansible.cfg, when you run Ansible command cd to this directory first and you have a self contained Ansible configuration that you also can have in a source control management tool like Git.


--
Kai Stian Olstad

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/40eea67d0d362a3b4281c2576dc0e0e2%40olstad.com.

Reply via email to