ansible/samples/ignore_errors.yml

11 lines
197 B
YAML
Raw Normal View History

- hosts: localhost
connection: local
gather_facts: no
tasks:
- fail:
ignore_errors: yes
- debug: msg="you should still see this"
- fail:
- debug: msg="you should NOT see this"