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 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/7da0cc4e-74ca-2c1b-d77d-4abe440b0460%40olstad.com. For more options, visit https://groups.google.com/d/optout.
