[ansible-project] Not able to configure server using Ansible Dynamic Inventory

2015-02-27 Thread Rahul Mehrotra
I am using ec2.py dynamic inventory for provisioning with ansible. I have placed the ec2.py in /etc/ansible/hosts file and marked it executable. I also have the ec2.ini file in /etc/ansible/hosts. [ec2] regions = us-west-2 regions_exclude = us-gov-west-1,cn-north-1 destination_variable = pub

Re: [ansible-project] Need Ansible Presentation Advice

2015-02-27 Thread Dag Wieers
On Thu, 26 Feb 2015, Tiglath wrote: I have used Ansible for our data center migration and now it's time to tell the whole department about it. The problem is that I did not need to make very advanced use of Ansible to automate the big move, and covering it will be rather short and boring. I ha

[ansible-project] Setting ANSIBLE_HOST_KEY_CHECKING per host

2015-02-27 Thread junkmailtrapenator
Is it possible to set ANSIBLE_HOST_KEY_CHECKING on a per host or host group basis? This would help prevent my known_hosts file from becoming cluttered with test boxes but still ensure when I talk to production hosts I can verify their identity. -- You received this message because you are subs

Re: [ansible-project] Issues with appened group not being recognised immediately

2015-02-27 Thread Juan Cervera
+1 :-) Think that this scenario will always be a problem for someone adding a user to a new group, when belonging to that group is important to for the rest of the playbook orchestration. A good approach could be forcing a reconnect after using groups with append=yes in the "user" module. Than

Re: [ansible-project] Need Ansible Presentation Advice

2015-02-27 Thread Greg DeKoenigsberg
On Thu, Feb 26, 2015 at 3:31 PM, Tiglath wrote: > I have used Ansible for our data center migration and now it's time to tell > the whole department about it. > > The problem is that I did not need to make very advanced use of Ansible to > automate the big move, and covering it will be rather shor

Re: [ansible-project] Changelog

2015-02-27 Thread James Morgan
That's great, thanks for the info. Main issues have been with ec2 spot instances and the delegate_to bug. Will have a read. Cheers! -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails fr

Re: [ansible-project] Changelog

2015-02-27 Thread Michael Schultz
Should have finished reading your email. I don't know about the issues, if you're lucky they'll be linked from commit messages or PRs. On Fri Feb 27 2015 at 9:20:37 AM Michael Schultz wrote: > Yeah, I should have seen that coming. I only know this because I went > through the same thing last wee

Re: [ansible-project] Changelog

2015-02-27 Thread Michael Schultz
Yeah, I should have seen that coming. I only know this because I went through the same thing last week. Changes from 1.8.2 to 1.8.4 can be seen here https://github.com/ansible/ansible/compare/release1.8.2...release1.8.4 But if you're like me, you care more about the modules themselves, so those c

Re: [ansible-project] Changelog

2015-02-27 Thread James Morgan
Ah, yes thanks for that, though still none the wiser :) Many bug fixes, for both core code and core modules. Is there an easy way in github to list the issues that make it into a release. Can find the commits, but not the issues Thanks -- You received this message because you are subscribed

Re: [ansible-project] Changelog

2015-02-27 Thread Michael Schultz
That's the devel changelog, you probably want the release1.8.4 changelog: https://github.com/ansible/ansible/blob/release1.8.4/CHANGELOG.md --michael On Fri Feb 27 2015 at 8:27:44 AM James Morgan wrote: > Hi, > > Is there another changelog to > https://github.com/ansible/ansible/blob/devel/CHAN

[ansible-project] Changelog

2015-02-27 Thread James Morgan
Hi, Is there another changelog to https://github.com/ansible/ansible/blob/devel/CHANGELOG.md or is it just not up-to-date. Really keen to see the fixes in 1.8.3 & 1.8.4 Thanks J -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubsc

[ansible-project] Re: replace a line in remote file

2015-02-27 Thread Edgars
Hi You can use lineinfile module http://docs.ansible.com/lineinfile_module.html but if I were you I would just download deployment file as ZZZ_EAR-latest.ear and in your config file it will always be DEPLOYMENTFILE=/x/y/_EAR-latest.ear Edgars ceturtdiena, 2015. gada 26. februāris 23:24:06

[ansible-project] Re: version 1.9: wait_for suck in wait until timeout, it cannot wake up after the host can be accessed by ssh

2015-02-27 Thread Dan Vaida
Can you post the output when running with -? On Friday, 27 February 2015 09:57:41 UTC+1, nobody wrote: > > sorry, it does not seem able to detect the host back after the reboot, any > workaround or alternative module to wait reboot? > > > On Friday, February 27, 2015 at 7:56:12 PM UTC+11, no

[ansible-project] Re: version 1.9: wait_for suck in wait until timeout, it cannot wake up after the host can be accessed by ssh

2015-02-27 Thread nobody
sorry, it does not seem able to detect the host back after the reboot, any workaround or alternative module to wait reboot? On Friday, February 27, 2015 at 7:56:12 PM UTC+11, nobody wrote: > > Thanks Yariv and Dan, but non of your suggestions work, the wait_for does > seem able to detect the h

[ansible-project] Re: version 1.9: wait_for suck in wait until timeout, it cannot wake up after the host can be accessed by ssh

2015-02-27 Thread nobody
Thanks Yariv and Dan, but non of your suggestions work, the wait_for does seem able to detect the host up after reboot. I reckon it is a bug. Anyway, are there any workaround or alternative module to wait reboot? On Thursday, February 26, 2015 at 7:32:46 PM UTC+11, hce h wrote: > > Hi, > > I ha

Re: [ansible-project] List in inventory file variables ?

2015-02-27 Thread Tomasz Kontusz
If you have to generate exactly one file, you can try creating a dynamic inventory Florent B napisał: >Hi, > >I would like to write a complex variable (list) for each host in my >inventory file. >I know it's not a best practice, but I cannot write a vars file per >host (constrained >by project