Re: [ansible-project] ansible testserver -m ping -vvvv: FAILED => SSH Error: debug1: Calling cleanup 0x8078582(0x0)

2015-05-05 Thread dusank
Brain, I've made OpenIndiana Vagrant boxes available for you to ease the reproduction of the bug: - https://atlas.hashicorp.com/dusank On Monday, May 4, 2015 at 3:23:47 PM UTC+2, Brian Coca wrote: > > I need to setup something, one question, what are you using as > underlying VM under vag

[ansible-project] Bug in get_url: https with explicit port fails to validate certificate

2015-05-05 Thread Rumen Telbizov
Hello everyone, I found a bug in the get_url module of ansible. It comes down to it failing to verify the SSL certificate when the port is part of the supplied URL ( https://host:4443/path/to/something). I filed a github issue and a proposed patch which works for me in https://github.com/ansible/

Re: [ansible-project] Ansible not connecting to all hosts if using common azure cloud service for multiple VMs

2015-05-05 Thread satheesh kumar
Thanks! let me try this option! -- 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+unsubscr...@googlegroups.com. To post to this group, send emai

Re: [ansible-project] Ansible not connecting to all hosts if using common azure cloud service for multiple VMs

2015-05-05 Thread Matt Martz
Hosts must have a unique name in inventory. Both of your hosts have the same name. You can use ansible_ssh_host to specify a single host/ip and give the hosts unique aliases instead. Similar too [webservers] web1 ansible_ssh_host=web.cloudapp.net ansible_ssh_port=22 web2 ansible_ssh_host=web.cl

[ansible-project] Ansible not connecting to all hosts if using common azure cloud service for multiple VMs

2015-05-05 Thread satheesh kumar
I am using a single cloud service in azure, which acts as loadbalancer for two backend hosts. The SSH public port is 22 for VM1 and 26 for VM2. My Ansible inventory file is like below: [webservers] web.cloudapp.net ansible_ssh_port=22 web.cloudapp.net ansible_ssh_port=26 When I ping the VMs

Re: [ansible-project] How to correctly print a multiline stdout?

2015-05-05 Thread Brian Coca
everything that has stdout, shoudl have stdout_lines, which is already multiline, for those that don't just use split('/n'). -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving em

Re: [ansible-project] How to correctly print a multiline stdout?

2015-05-05 Thread Nicolas Grilly
On Tuesday, May 5, 2015 at 7:16:58 PM UTC+2, Brad Smith wrote: > > Did anything ever come of this? I would really like to be able to print > friendly "Provisioning succeeded! Here's what to do next..." messages at > the end of some of my playbooks. > Not to my knowledge. I'd like to have a solut

[ansible-project] Overriding chroot path for ansible_connection=chroot

2015-05-05 Thread Roman Gaufman
I cannot find any documentation for the chroot connection and I have tried asking on #ansible and googling. When I need to override the ssh host, I can do: ansible_ssh_host: '{{ ip | default("vpn.%s.%s" % (inventory_hostname, domain)) }}' How would I do the same to override the chroot_path?

Re: [ansible-project] How to correctly print a multiline stdout?

2015-05-05 Thread Brad Smith
Did anything ever come of this? I would really like to be able to print friendly "Provisioning succeeded! Here's what to do next..." messages at the end of some of my playbooks. --Brad On Wednesday, September 11, 2013 at 8:24:34 AM UTC-4, Michael DeHaan wrote: > > Probably because it requires w

[ansible-project] Ansible Community Hangout

2015-05-05 Thread James Cammarata
Hi all, we'll be on our hangout again today, if anyone would like to join. I'm going to ditch the "Hangouts On-Air" this time, and just run a public hangout, which can be joined here: https://plus.google.com/hangouts/_/g24llppv5iu5xy3fnfutebyw6aa We'll be starting in about 30 minutes (1PM EDT).

[ansible-project] Re: error_on_undefined_vars doesn't work for role parameters

2015-05-05 Thread jack . martin8912
Actually.. possibly_undefined_list should have thrown an undefined error before you ever try to access list_of_items on the second run. On Tuesday, May 5, 2015 at 12:21:02 PM UTC-4, jack.ma...@gmail.com wrote: > > I was going to submit this as a bug but I decided to send email first in > case I'

[ansible-project] error_on_undefined_vars doesn't work for role parameters

2015-05-05 Thread jack . martin8912
I was going to submit this as a bug but I decided to send email first in case I'm doing something wrong. The session below should show all required information, but let me know whether something else is needed. ansible$ cat playbooks/test_role_with_undefined_list.yml

[ansible-project] Re: Getting variables defined in group_vars

2015-05-05 Thread jack . martin8912
Use the debug module and print out the value of httpd_port when running over some or all of your servers. You can do this with an ad-hoc command like: ansible all -m debug -a 'msg="Port is {{ httpd_port }}"' On Tuesday, May 5, 2015 at 8:41:08 AM UTC-4, Ivan Kurnosov wrote: > > Hi, > > is it p

Re: [ansible-project] Getting variables defined in group_vars

2015-05-05 Thread Brian Coca
These will all be merged in, so you'll have httpd_port available as the result of that merge. host vars will overrite group vars so this should work as you want it. -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscri

[ansible-project] Getting variables defined in group_vars

2015-05-05 Thread Ivan Kurnosov
Hi, is it possible to retrieve variables defined per host with all group_vars and host_vars definitions applied? The case: let's say we have a task to configure an haproxy instance. In its config file template we iterate over servers in the `webserver` group and need to retrieve the `httpd_po

[ansible-project] Re: SSH Error: muxserver_listen bind(): Disk quota exceeded

2015-05-05 Thread James Morgan
Couldn't see the wood for the trees... Was my local quota. Not the instance... nothing to see here -- 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-pr

[ansible-project] SSH Error: muxserver_listen bind(): Disk quota exceeded

2015-05-05 Thread James Morgan
Hi, I'm not sure where the issue lies with this so apologies if its not Ansible related. I have a EC2 instance that i'm provisioning with Ansible. Hitting fatal: [ec2-5x5-33.compute-1.amazonaws.com] => SSH Error: muxserver_listen bind(): Disk quota exceeded while connecting to

Re: [ansible-project] Re: create network interface (ENI) on EC2 instance? possible to use "raw" boto commands?

2015-05-05 Thread Rob White
The module does support region. You should be able to specify it without issue. Can you get the subnet_id from the ec2_fact module? On 27 Apr 2015 16:56, "Tzach Livyatan" wrote: > > > On Sunday, April 26, 2015 at 6:05:13 PM UTC+3, Rob White wrote: >> >> I assume you have referenced eni.interface