Hi Kai,

Thanks you so much for your reply. It would be helpful for my further
learning.

On Oct 24, 2017 8:49 PM, "Kai Stian Olstad" <[email protected]>
wrote:

On 24. okt. 2017 09:39, KrishnaKumar Vinayagam wrote:
> 1. I want to list or view only changed task in ansible after ran playbook.
> is it any cmd available?
>
> ex:
> Play Recap:
> duba-scs-appa01.        ok=25  changed=4 ( I want to list only what are
all
> the changes made in this server ) any cmds?

This is controlled by the callback plugin, you can check out the included
ones here
https://docs.ansible.com/ansible/devel/plugins/callback.html#plugin-list

If no own is up to the task you would need to write your one.


> 2. What is the use of --retry file?

retry file contains all host the failed in the last playbook run.
If you run ansible-playbook with this retry file, the plays will only run
on those host.


> 3.  How to continue execution of failed task after fixing the error ?

The whole playbook fails and stop executing task on the host.
You could just rerun the playbook on the host(s) or look at "start at task"
https://docs.ansible.com/ansible/latest/playbooks_
startnstep.html#start-at-task


--
Kai Stian Olstad

--
You received this message because you are subscribed to a topic in the
Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/ansible-project/BEWNpKJuK1Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/
msgid/ansible-project/7da0cc4e-74ca-2c1b-d77d-4abe440b0460%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFON_C6Q5%3DCoje_UNEhydsrwybAv0A5MxT029M6BsfN__noAQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to