[ansible-project] ansible setup subcall to lsblk timing out on Xen mount

2016-09-08 Thread Michael Bubb
Using this version of Ansible ansible --version ansible 2.1.1.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides [ On a Softlayer VM Linux staging 2.6.32-573.8.1.el6.x86_64 #1 SMP Tue Nov 10 18:01:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[ansible-project] ansible fact for aix

2016-09-08 Thread hzj...@foxmail.com
hello,all the result from executing fact module on aix doesnot meet my need, I want to add some additional thing into the fact, like vg and pv info, how can i get it done? thank u -- You received this message because you are subscribed to the Google Groups "Ansible Project"

[ansible-project] with_nested and when condition

2016-09-08 Thread Adam Shantz
I'm trying to write a play that allows for me to only build certain directories conditionally while using the with_nested. Here's my variable dictionary: routers: router1: hostname: adam router2: hostname: steve Here's my play: - name: create dirs for swiftmq file: state:

Re: [ansible-project] Re: Ansible 2.1.2 RC2 is ready for testing

2016-09-08 Thread James Cammarata
Hi John, Our roadmaps have been posted here since 2.1: https://github.com/ansible/ansible/blob/devel/ROADMAP.rst Was there something else to which you were referring? James Cammarata Ansible Lead/Sr. Principal Software Engineer Ansible by Red Hat twitter: @thejimic, github: jimi-c On Thu, Sep

[ansible-project] Re: Ansible 2.1.2 RC2 is ready for testing

2016-09-08 Thread jpeacock
On Wednesday, August 31, 2016 at 2:25:23 PM UTC-4, James Cammarata wrote: > > Hi all, we're happy to announce that RC2 for 2.1.2 is now available for > testing. > Any chance the road map that was promised in the 2.1 release announcement will be made available soon? We are trying to upgrade

Re: [ansible-project] Ansible Facts For Additional IP Address On the Interface

2016-09-08 Thread Kai Stian Olstad
On 08. sep. 2016 19:07, Janis Orlovs wrote: Hello, I'm strugling with the additional IP address fact for Ansible "ansible_eth0_1": { "active": true, "device": "eth0_1", "ipv4": { "address": "192.168.10.2", Playbook says that eth0_1.ipv4.address is undefined variable. What

[ansible-project] Re: Spin Up Jenkins on AWS instance

2016-09-08 Thread rup
Sometimes it's a matter of timing. If it's sporadically happening, perhaps the ssh connection isn't happening within the 10 second default used by Ansible. To override this default you need to specify in your config file. On Wednesday, September 7, 2016 at 2:33:54 PM UTC-6, Liora Milbaum

[ansible-project] Re: Baremetal provisioning on Windows Hyper-V

2016-09-08 Thread Matt Davis
Not really- I just talk with a lot of users at conferences and hear from our product folks about customer wishes... Determining our official stance on DSC is the biggest/most frequent thing I hear on the module side these days, so that will likely happen in 2.3 timeframe (whether we ship some

[ansible-project] Ansible Facts For Additional IP Address On the Interface

2016-09-08 Thread Janis Orlovs
Hello, I'm strugling with the additional IP address fact for Ansible "ansible_eth0_1": { "active": true, "device": "eth0_1", "ipv4": { "address": "192.168.10.2", Playbook says that eth0_1.ipv4.address is undefined variable. What you can suggest for these variables?

Re: [ansible-project] Re: Do dynamic inventories support command line arguments?

2016-09-08 Thread Josh Smift
MM> As of now, the recommended way to provide configuration to an MM> inventory script is either via configuration file, or via environment MM> variables. MM> MM> As of now, there is no way to pass arguments directly to a dynamic MM> inventory script. We've done things like this by having a

[ansible-project] Re: Baremetal provisioning on Windows Hyper-V

2016-09-08 Thread Mike Fennemore
Is there an official list of things folks are clamouring for in terms of windows modules Matt? -- 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] Re: Baremetal provisioning on Windows Hyper-V

2016-09-08 Thread Mike Fennemore
Is there an official list of things folks are clamouring for in terms of windows modules Matt? -- 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] Re: Auth issue in script using Azure Powershell

2016-09-08 Thread Matt Davis
Hard to say without taking apart the Azure cmdlets, but I'd suspect they're internally trying to use a Windows credential cache, which has always been a no-go for me under a WinRM session (though IIRC it fails loudly when you try). Some of the stuff that will likely land in Ansible 2.3 may

[ansible-project] Re: Ansible on Windows w/o administrator privileges possible?

2016-09-08 Thread Matt Davis
(typical cases only need the "read" and "execute" permission) On Thursday, September 8, 2016 at 8:47:45 AM UTC-7, Matt Davis wrote: > > Yes, it's absolutely possible. Usually the limiting factor on a default > install is the WinRM listener ACL- you can see/alter this via: > > winrm configSDDL

Re: [ansible-project] Re: Do dynamic inventories support command line arguments?

2016-09-08 Thread Matt Martz
You don't. As of now, the recommended way to provide configuration to an inventory script is either via configuration file, or via environment variables. As of now, there is no way to pass arguments directly to a dynamic inventory script. On Thu, Sep 8, 2016 at 1:59 AM, 'Nirav Radia' via

[ansible-project] Re: Ansible on Windows w/o administrator privileges possible?

2016-09-08 Thread Matt Davis
Yes, it's absolutely possible. Usually the limiting factor on a default install is the WinRM listener ACL- you can see/alter this via: winrm configSDDL default and add the necessary users/groups (or add the existing Windows Remote Management group). On Wednesday, September 7, 2016 at 1:33:54

[ansible-project] Re: Baremetal provisioning on Windows Hyper-V

2016-09-08 Thread Matt Davis
I've still not heard a single request for it other than your initial one, so it's not really high on our list of "things folks are clamoring for"... On Monday, September 5, 2016 at 7:09:51 PM UTC-7, lars wrote: > > Hi Matt, > > Is there any update on this? If you supported provisioning vm on

[ansible-project] Re: Do dynamic inventories support command line arguments?

2016-09-08 Thread 'Nirav Radia' via Ansible Project
@esco real : The question remains the same. How to pass a command line argument to that wrapper script then? On Tuesday, 27 October 2015 22:43:06 UTC+5:30, esco real wrote: > > You could use some wrapper script(s) as inventory source for that.. > -- You received this message because you are

[ansible-project] Aborting entire playbook when one host unreachable

2016-09-08 Thread Gustav Karlsson
Hi, We are using an ansible (v 2.0.2) playbook for deployment of our webapp. A simplified example of what we are doing is: Play 1 - db - Expand the database schema to support new version of the webapp. Play 2 - appservers - Deploy new version of the webapps as a rolling update. The problem

[ansible-project] RE: Ansible cli argument from with ansible-play

2016-09-08 Thread Eric Marquez
I found the answer to my own question. http://docs.ansible.com/ansible/playbooks_variables.html#passing-variables-on-the-command-line From: ansible-project@googlegroups.com [mailto:ansible-project@googlegroups.com] On Behalf Of Eric Marquez Sent: Thursday, September 8, 2016 7:12 AM To:

[ansible-project] Ansible cli argument from with ansible-play

2016-09-08 Thread Eric Marquez
Can somebody give me a pointer for using CLI commands with Ansible-Play. I working with a group of network devices and I need to issue the same command to all of them to find a specific IP address in the arp table. I would like to do something like the following: Ansible-play myplay

[ansible-project] Re: lookup and default value

2016-09-08 Thread fanvalt
I did find out the way to bypass for the 2 cases: - set_fact: port='1' when: port.0 is not defined or port =='' Le jeudi 8 septembre 2016 14:40:33 UTC+2, fanvalt a écrit : > > Hello, > > Is there a way to set a default value when using the lookup module for a > csv file. > > Case 1: > >

[ansible-project] Re: lookup and default value

2016-09-08 Thread fanvalt
I found out how to bypass the issue for case 1 by using: - set_fact: port='1' when: port is not defined or port =='' But it does not bypass the issue in case 2. if port is [], empty list, what value of port should I test ? Le jeudi 8 septembre 2016 14:40:33 UTC+2, fanvalt a écrit : > >

[ansible-project] lookup and default value

2016-09-08 Thread fanvalt
Hello, Is there a way to set a default value when using the lookup module for a csv file. Case 1: Here is the csv file: OPENHRPORT;; I would like to set the '1' value if the value in the csv file is not specified: vars: - port: "{{ lookup('csvfile', 'OPENHRPORT

[ansible-project] Re: Baremetal provisioning on Windows Hyper-V

2016-09-08 Thread Mike Fennemore
Ok will have to build a vmm box to test that. So far I have the functionality to create,delete,restart,start and shutdown VM's on a Hyper-V host. I have the initial draft on https://github.com/mikef-nl/hyperv_guest . It will need additional testing before I'm happy it works fully. But thus far

[ansible-project] Re: Baremetal provisioning on Windows Hyper-V

2016-09-08 Thread Mike Fennemore
On Thursday, September 8, 2016 at 10:36:01 AM UTC+2, Mike Fennemore wrote: > > Ok will have to build a vmm box to test that. So far I have the > functionality to create,delete,restart,start and shutdown VM's on a Hyper-V > host. > > On Thursday, September 8, 2016 at 7:59:20 AM UTC+2, lars

[ansible-project] Until is giving issues with ansible 2.1

2016-09-08 Thread Deepa Yr
Hi Earlier we were using Ansible 2.0.1 where playbooks were running fine. Now upgraded to Ansible 2.1.1. Seeing issues with until module. - name: Copy the file get_url: headers: "{{ headers }}" url: "{{ asset_repo_url }}/{{ file_path }}" dest: "{{ file_dest }}"

[ansible-project] Re: Baremetal provisioning on Windows Hyper-V

2016-09-08 Thread Mike Fennemore
Ok will have to build a vmm box to test that. So far I have the functionality to create,delete,restart,start and shutdown VM's on a Hyper-V host. On Thursday, September 8, 2016 at 7:59:20 AM UTC+2, lars wrote: > > Thanks for your reply. > > I Use powershell now, and yes, it should connect to

Re: [ansible-project] Ansible 2.1.2 RC2 is ready for testing

2016-09-08 Thread nusenu
James Cammarata: > Hi nusenu, I'll take a look at that again as we will be doing a RC3 for > 2.1.2. > thank you, looking forward to a version with a fix for this regression. nusenu -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To