ansible prowadzi zadanie zawsze na końcu
# Use block and always, which executes its tasks no matter what happens
# in the block tasks.
- name: Always do X
block:
- debug:
msg: 'I execute normally'
- name: i force a failure
command: /bin/false
- debug:
msg: 'I never execute :-('
always:
- debug:
msg: "This always executes, :-)"
RicarHincapie