[ansible-devel] Make it possible to set tasks_from to None in include_role

2017-03-31 Thread Øyvind Saltvik
If you want to just include defaults, vars and handlers it would be nice to be able to not run any of the roles tasks. -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send

[ansible-devel] Ansible 2.3.0 RC3 is ready for testing

2017-03-31 Thread James Cammarata
We are happy to announce the availability of Ansible 2.3.0 RC3! This RC continues to address a few small bugs we wanted to fix before the final release: * Fixed a bug in dealing with leading garbage text when looking for a become prompt. * Some additional minor correctiosn to network connection p

[ansible-devel] Re: Powershell Version 2 - Got it working and would like to discuss

2017-03-31 Thread Matt Davis
There are tools coming in Ansible 2.3 that should also help to do mass upgrades of PS2 hosts (eg, become/runas, win_psexec). The underlying WinRM exec wrapper in 2.3 has greatly increased reliance on Powershell 3 and .NET 4 (which is why we didn't want to support back to PS2 in the first place),

[ansible-devel] Re: Powershell Version 2 - Got it working and would like to discuss

2017-03-31 Thread 'jhawkesworth' via Ansible Development
I'd suggest using the upgrade_to_ps3 script mentioned here http://docs.ansible.com/ansible/intro_windows.html#getting-to-powershell-3-0-or-higher on your s2008r2 machines.- powershell 2 pre-dates the remote management via web services stuff.. You can just about get a remote shell with ps2 but

[ansible-devel] Re: is nested yaml inventory file for ansible supported?

2017-03-31 Thread Milo Minderbinder
Specifically, note from the example Matt provided that all values in the YAML inventory file are map values, never lists. So the - (dash) preceding your "prod" and "stag" groups should be removed. Also note that all hosts listed under a "host:" mapping are also mapping values, so must end with a

Re: [ansible-devel] is nested yaml inventory file for ansible supported?

2017-03-31 Thread Matt Martz
There is an example yaml inventory on github explaining the structure. You can find it at: https://github.com/ansible/ansible/blob/devel/examples/hosts.yaml On Fri, Mar 31, 2017 at 6:53 AM vinod kumar wrote: > Hi Guys, > > I'm trying to use a yaml file as inventory file which looks like below:

[ansible-devel] is nested yaml inventory file for ansible supported?

2017-03-31 Thread vinod kumar
Hi Guys, I'm trying to use a yaml file as inventory file which looks like below: - prod: webserver: hosts: example1.com db_servers: hosts: example2.com example3.com - stag: webserver: hosts: example3.com It doesn't seem to work, and

[ansible-devel] Re: Powershell Version 2 - Got it working and would like to discuss

2017-03-31 Thread Herman Bergmans
Hi Eric. I am very interested in what you had to do to get powershell 2 working with Ansible. I am in a situation where I still have a LOT of Windows 2008 R2 out there that still have powershell 2 installed. I'd love to know which changes you had to make to get it to work. Thx - Herman - On