On Tue, 9 Jun 2020 at 12:20, Rajesh <[email protected]> wrote:
>
> Thanks for the reply. The playbook is not printing message as per the below 
> task.
>
>    - name: No extra hard disk
>      debug:
>       msg: "No extra hard disk available"
>      when: ansible_devices.sdb is undefined

This is also correct. As the previous failure was already fatal, the
playbook will stop executing commands for that host
(ansible4.example.com).
You can also tell from the play recap.



-- 
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMD3MV2yepkvX_fipSprNstndnPgvC7XwKh3mx-A0KZWA%40mail.gmail.com.

Reply via email to