[ansible-project] Re: ansible Inventory

2019-12-30 Thread Arjan Goos
Can somebody help me? Op dinsdag 24 december 2019 12:21:48 UTC+1 schreef Arjan Goos: > > We have an cluster of windows machines and there are two types: web and esb > > And on these machines we have multiple jboss installations (one for each > application). And we want to manipulate the jboss ins

[ansible-project] Re: ansible Inventory

2019-12-31 Thread 'J Hawkesworth' via Ansible Project
There are probably several ways of doing this and it would probably be best if you experiment a bit to find out what makes most sense for you. Personally I am more familiar with the 'ini' style of inventory so I'm not sure what problem you are really facing with the inventory. It might be easier

[ansible-project] Re: Ansible inventory organization

2019-03-25 Thread Sascha Andres
Hi, maybe to be clearer: I want the intersection of production & www. Kind regards, Sascha -- 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-project+u

Re: [ansible-project] Re: Ansible inventory organization

2019-03-25 Thread S C Rigler
If you want an intersection, try: ansible-playbook --limit production:\&www Or if you just want to run on "servera" and "serverb", you can do it like this: ansible-playbook --limit ~server[ab] --Steve On Mon, Mar 25, 2019 at 7:24 AM Sascha Andres wrote: > > Hi, > > maybe to be clearer: I want

Re: [ansible-project] Re: Ansible inventory organization

2019-03-25 Thread Sascha Andres
Hi, thanks Steve, this is what I was looking for. I have found intersection in the configs now. Thanks again, Sascha On Monday, March 25, 2019 at 1:47:28 PM UTC+1, Steve R wrote: > > If you want an intersection, try: > > ansible-playbook --limit production:\&www > > Or if you just want to run

[ansible-project] Re: ansible --inventory option with a trailing comma

2015-10-25 Thread techraf
Well... According to this post it is a hack. Still information is scarce. Is it intentional, a quick fix for the purpose of running against single host, or is it a bug, that got utilized this way... On Sunday, October

[ansible-project] Re: ansible inventory with multiple groups with same host

2018-04-24 Thread Vlad
On Monday, 23 April 2018 17:18:59 UTC+3, Vlad wrote: > > Hi, > > I have multiple groups in inventory that use the same host. The idea is > that on the same hosts we want to install multiple applications, and the > name of the applications should be called as a group > > - inventories > - stag

Re: [ansible-project] Re: ansible --inventory option with a trailing comma

2015-10-26 Thread Brian Coca
The , indicates its not a path but an 'adhoc list of hosts', this is missing from the man pages, which are sadly behind the rest of the docs -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and st

[ansible-project] Re: Ansible inventory duplicate hosts in different groups - Ansible picks the last one from the duplicates

2020-08-17 Thread Abhishek Sharma
updated command is # ansible -i inventory A -m shell -a "ls -l /tmp/{{ lhost }}" --limit host1.example.com On Monday, August 17, 2020 at 7:46:00 PM UTC+5:30 Abhishek Sharma wrote: > Hi > > I have an inventory defined as below: > > [A] > host1.example.com lhost=1010 > host2.example.com lhost=