Exclude tasks

If you want to ignore individual tasks completely, you can use the skip_ansible_later tag.

Example

1
2
3
4
- name: Excluded task
  command: "pwd"
  tags:
    - skip_ansible_later