[ansible-project] Re: Run a logging task after Playbook ends?

2014-03-16 Thread Michael Mahemoff
Thanks everyone, I'm glad there's a mechanism for this and I'll definitely test-run Matt's new plugin. On Saturday, March 15, 2014 10:15:53 PM UTC, Michael Mahemoff wrote: Is there any way to run a command after the playbook has finished running, so it would run once no matter how many hosts

[ansible-project] ansible failed in virtualenv

2014-03-16 Thread Yapeng Wu
Hello, I am new to Ansible. I have installed ansible in the virtualenv. But when I load a playbook, it failed in one command module: TASK: [create the tahoe introducer] *** 127.0.0.1 REMOTE_MODULE command /home/ywu/.virtualenvs/sercle/bin/tahoe

Re: [ansible-project] RFC: JIRA module

2014-03-16 Thread Steve Smith
Thanks for the heads-up. I've reworked it to use fetch_url, although it required manipulating the basic-auth header directly as JIRA's API doesn't follow the usual semantics. PR is here: https://github.com/ansible/ansible/pull/6512 Cheers, Steve On 14 March 2014 17:14, Matt Martz

Re: [ansible-project] trigger or force a handler

2014-03-16 Thread Michael DeHaan
This is a fairly common request. The suggestion has been to implement something like a --force-handlers switch to Ansible playbook that runs all of them. I think having to name the handlers might be too unfriendly. --Michael On Sat, Mar 15, 2014 at 10:36 PM, Xu Chen xche...@gmail.com wrote:

Re: [ansible-project] how to best report changed for a group of tasks

2014-03-16 Thread Michael DeHaan
Are you saying you might to see the change report on a role-by-role basis? This could be done with a custom callback plugin, but might take a bit of work. On Sun, Mar 16, 2014 at 12:34 AM, Xu Chen xche...@gmail.com wrote: I wonder if there is a way to report changed for a group of tasks..

[ansible-project] Re: Problem with apt add-repository and updating the cache ?

2014-03-16 Thread Ben Turner
Addenda: It seems I had to ALSO add in the key manually, as the apt_repository command had not done that for me - this isn't what I'd expected from a PPA ? - name: Add brightbox repository key

[ansible-project] Re: Problem with apt add-repository and updating the cache ?

2014-03-16 Thread Ben Turner
This also happened when running an external role (from Ansible Galaxy) I had to uncomment line 7 of https://github.com/bcoca/oracle7java/blob/54d5fd3a56d6b2d4186c5c8fabb24b6f42a1f731/tasks/main.yml to ensure the apt-key was also installed, as the previous apt-repository command didn't do so.