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

2014-03-16 Thread Xu Chen
Yeah, role-by-role is good enough. Is there a link to such callback concept? Thanks.. On Sunday, March 16, 2014 12:28:24 PM UTC-4, Michael DeHaan wrote: > > 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 t

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 wrote: > I wonder if there is a way to report "changed" for a group of tasks.. > > For example,

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

2014-03-15 Thread Xu Chen
I wonder if there is a way to report "changed" for a group of tasks.. For example, I want to have a play like this: - include: sub-play1.yml - include: sub-play2.yml "only when something changed in sub-play1" Or, a play like this: - hosts: group1 tasks: - t1 - t2 - hosts: group2