I'm new to ansible and want to set my tasks to always run even if the task
above it fails. Can someone provide an example or show me how to set it up
with my task shown below?
Here is one of my task that I want to set to run:
#
# New Task
#
- name: New Task
uri:
url: "https://task.com"
method: POST
user: "{{ ansible_user }}"
password: "{{ ansible_ssh_pass }}"
status_code:
- 400
validate_certs: no
body:
name:
id:
active: true
priority: 1
qualityOfService:
frequency: 3
intervalSeconds: 8000
signalId: abcd1234-2479-4f3d-b835-b445e58eef30
body_format: json
--
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/070bc39c-ece8-4b68-be02-dce2944b8754n%40googlegroups.com.