When adding new tasks to ansible playbook it's handy do bind them between the following other two tasks to make debugging simpler.
- name: Print variable I am using
debug:
msg: "my variable: {{ foo }}"
# ... whatever i'm adding ... which does something to {{ foo }}
- fail:
msg: "Stopping so I can easily re-run"
No comments:
Post a Comment