Back
To ignore failed command in ansible you can write a task to ignore errors use the below-mentioned way:
- name: this will not be counted as a failure
command: /bin/false
ignore_errors: yes
31k questions
32.8k answers
501 comments
693 users