Re: [ansible-project] log which playbook was use

2015-05-25 Thread Jeff Reter
Thanks. So there is currently no way to get the name of the playbook in a module? i though callbacks are for local "actions", so i can this for an "after all" remote action, or even call a module from a callback? Am Freitag, 22. Mai 2015 19:24:54 UTC+2 schrieb Brian Coca: > > A module will prob

[ansible-project] add_host and variable mass-population

2015-05-25 Thread Dmitry Makovey
I have a dilemma: I've got a module that can produce list of sites that given app is configured to serve, "app_info" which produces JSON output like this: "site_info": {

Re: [ansible-project] Re: Amazon VPC Peering Module ?

2015-05-25 Thread benno joy
HI Chris, There is a pending PR for this, https://github.com/ansible/ansible-modules-core/pull/367 can you give it a shot, - Benno On Mon, May 25, 2015 at 1:24 PM, wrote: > Hey everyone, > > Did anything happen on this? Just got a need to do some vpc peering and > wondered what the state of

[ansible-project] FAILED => SSH Error: ssh: connect to host 127.0.0.1 port 2222: connection refused

2015-05-25 Thread vamsee krishna
Hi All, I'm new to Ansible. started working on Ansible basics. I installed Ubuntu 14.04 in virtual box and installed Ansible using the following commands $ sudo apt-get install software-properties-common$ sudo apt-add-repository ppa:ansible/ansible$ sudo apt-get update$ sudo apt-get install an

[ansible-project] Core modules missing error - the core module folder in ansible zip package is empty

2015-05-25 Thread Ishana Tech
I have installed ansible on Linux machine from the downloaded zip. I am getting this error: " module ping not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run 'git submodule update --init --recursive' to correct this problem." I find the co

[ansible-project] gathering facts error with LXC containers

2015-05-25 Thread Kiki Sugiaman
Hi all, noob here. When running ansible-playbook against LXC containers, I have to set "gather_facts: False". Otherwise it always gets stuck there. The reason is because accessing /proc/cpuinfo inside lxc containers always results in: "cannot access /proc/cpuinfo: Transport endpoint is not con

Re: [ansible-project] Re: "gem" module reports gem as present when it is not and therefore will not install

2015-05-25 Thread Do Hoang Khiem
I had exactly the same problem when running on VirtualBox VM (Ubuntu 14.4, Ansible 1.9) vagrant@localhost:~$ sudo gem list *** LOCAL GEMS *** vagrant@localhost:~$ gem list *** LOCAL GEMS *** vagrant@localhost:~$ ansible localhost -m gem -a "name=sass state=latest include_dependencies=yes

Re: [ansible-project] Example of multi-datacenter deployments using Ansible

2015-05-25 Thread Davide
Hello Joel! I ran into the same identical problem (cfr. http://serverfault.com/questions/693469/multi-datacenter-ansible-load-balancer-template) and was wondering if you could share whatever solution you ended up using? Thank you so much! D On Friday, December 6, 2013 at 10:40:04 AM UTC-8, Jo

[ansible-project] Re: Amazon VPC Peering Module ?

2015-05-25 Thread chris
Hey everyone, Did anything happen on this? Just got a need to do some vpc peering and wondered what the state of the art was for doing this in Ansible? Big Ansible fan btw. That's me on the right: https://twitter.com/worldofchris/status/565097429494935552 Cheers Chris On Wednesday, Septem

[ansible-project] git module StricHostKeyChecking.

2015-05-25 Thread jody . frankowski
Link to previous comments: https://github.com/ansible/ansible-modules-core/issues/1410 -- 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+unsubs

[ansible-project] Re: Permission problem with docker module.

2015-05-25 Thread Stefan Eriksson
as a followup: stefan@docker1:~$ python Python 2.7.9 (default, Mar 1 2015, 12:57:24) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from docker import Client >>> c = Client(base_url='unix://var/run/docker.sock') >>> c.containers() [{u'Status': u'

[ansible-project] Permission problem with docker module.

2015-05-25 Thread Stefan Eriksson
Hi I'm trying out the docker module and I want to run it without sudo as root, but dont know why I get permission errors, running locally works great. I've added usermod -aG docker stefan stefan@docker1:~$ groups stefan docker stefan@docker1:~$ docker ps CONTAINER IDIMAGE