Skip to content

Instantly share code, notes, and snippets.

@resmo
Last active March 5, 2018 15:04
Show Gist options
  • Save resmo/3238faf3cb386a49abd33df4b5aaadaf to your computer and use it in GitHub Desktop.
Save resmo/3238faf3cb386a49abd33df4b5aaadaf to your computer and use it in GitHub Desktop.
---
- hosts: localhost
tasks:
- name: exmaple block with when
when: 1 == 1
block:
- name: task 1
debug:
msg: run task
- name: task 2
debug:
msg: run task
- name: task 3
debug:
msg: run task
- name: task 3
debug:
msg: run task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment