-
Notifications
You must be signed in to change notification settings - Fork 664
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add YAML path (to play/task) discovery utils for Transforms to use (#…
…1970) Co-authored-by: Sorin Sbarnea <[email protected]>
- Loading branch information
1 parent
dbd10e7
commit edc0e04
Showing
5 changed files
with
870 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
- name: a named block task | ||
block: | ||
- name: an assertion | ||
ansible.builtin.assert: | ||
fail_msg: foo | ||
rescue: # null | ||
always: {} | ||
- block: | ||
- name: another assertion | ||
ansible.builtin.assert: | ||
fail_msg: bar | ||
rescue: {} | ||
always: | ||
- name: yet another assertion | ||
ansible.builtin.assert: | ||
fail_msg: baz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
action: funny value=clown | ||
args: | ||
key: value | ||
- # a second null task, validates yaml_utils.get_path_to_task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.