Re: [ansible-project] Re: Exception: host not found issue with v1.8.2

2015-01-12 Thread James Morgan
Hi, Thanks so much for looking into this. Much appreciated. I'll get 1.8.2-3.el6 tested. Cheers! James -- 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 a

Re: [ansible-project] Re: collecting "items" across roles and then iterating over them in a handler

2015-01-12 Thread Matthew Macdonald-Wallace
Thanks both, I'll have a play with that and see what I can get :) Matt On Friday, 9 January 2015 15:51:10 UTC, Mark Janssen wrote: > > Note that this only works in 1.7.x and beyond ... I just ran it on a host > still running 1.6.10 and couldn't get it to work until upgrading to 1.7.x > > Mark

Re: [ansible-project] Re: include: "{{ ansible_os_family }}.yml" not working

2015-01-12 Thread Brian Coca
handlers are play level so if you define conflicting handlers in roles one of them gets overwritten. 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 emails from it, se

[ansible-project] Conditionally upgrade container (specific version)

2015-01-12 Thread Gary Malouf
I'm trying to achieve the following behavior via the Ansible-Docker module 1. Check if currently deployed container image is of desired version; if so, exit else proceed 2. Pull updated image 3. Stop/remove currently deployed container image 4. Start new container image I know u

Re: [ansible-project] local_action using remote file content

2015-01-12 Thread Capi Etheriel
did you write the module? btw, for cloning it should be enough to support deploy keys. Em terça-feira, 31 de dezembro de 2013 13:09:13 UTC-2, bryan hunt escreveu: > > > Not for performing VCS tasks but for talking directly to the bitbucket > rest API. > > http://restbrowser.bitbucket.org > > In

Re: [ansible-project] action for getting Digital Ocean keys

2015-01-12 Thread Paul Mackay
Hi Akos, Also does your module help to retrieve the image ID list? I've just noticed they seem to change every so often. thanks paul On Wednesday, 7 January 2015 19:18:11 UTC, Akos Vandra wrote: > > Hi! > > I have build a digitalocean_facts module, which I intend to release once > it's cleane

Re: [ansible-project] Problems running mysql_user

2015-01-12 Thread Dirk Röder
Hi Tom, I worked around it meanwhile with the following: - name: Create TinyTinyRSS database user when: ttr.stat.exists == False mysql_user: name={{ app_dbUser }} host=localhost password="{{ mysql_user_pass.stdout }}" priv="{{ app_dbName }}.*:SELECT,INS

[ansible-project] Force ansible to use IPv4 / IPv6?

2015-01-12 Thread John Oliver
I've run into a minor problem where one of my hosts has an record for an address assigned via DHCP6, but it isn't acquiring that address. I can connect via the IPv4 address just fine. I'm looking for a switch to tell ansible / ansible-playbook to force a connection over one protocol so I

Re: [ansible-project] Force ansible to use IPv4 / IPv6?

2015-01-12 Thread Greg Andrews
Off the top of my head: 1. Do the IPv4 and IPv6 addresses have different hostnames in DNS? If so, use the hostname for the address that's usable. 2. In the ansible machine's .ssh/config file, you can enter something like this: HOST problem-hostname AddressFamily inet According

[ansible-project] Re: Creating and distributing ssh keys

2015-01-12 Thread Mark Maas
On Sunday, January 11, 2015 at 12:02:10 PM UTC+1, Dan Vaida wrote: > > as I see it, based on your input, you have two problems: > 1. you're creating the users and generating unique keys on each of the > target hosts > Correct, and that's what I'm trying to get. > 2. you're trying to iterate t

[ansible-project] Re: Creating multiple ec2 instances in different AZ's

2015-01-12 Thread Mark Maas
On Friday, January 2, 2015 at 2:18:47 PM UTC+1, Igor Cicimov wrote: > > Try > > - name: Add new instances to group > add_host: hostname={{ item.private_ip }} groupname=ceph_launched > with_items: ec2.instances > > I tried that one, but the ec2 variable has received multiple "instances" blocks

Re: [ansible-project] Force ansible to use IPv4 / IPv6?

2015-01-12 Thread Tom Bamford
Should be able to do this with ssh-config. Don't forget to tell your client to fix their brain-dead DNS! :-) On 13 January 2015 at 02:04, John Oliver wrote: > I've run into a minor problem where one of my hosts has an record for > an address assigned via DHCP6, but it isn't acquiring that