-
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.
Make fix more resilient to syntax-check errors
Fixes: #4114
- Loading branch information
Showing
8 changed files
with
63 additions
and
6 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
13 changes: 13 additions & 0 deletions
13
examples/playbooks/4114/transform-with-missing-role-and-modules.transformed.yml
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,13 @@ | ||
--- | ||
- name: Reproducer for bug 4114 | ||
hosts: localhost | ||
roles: | ||
- this_role_is_missing | ||
tasks: | ||
- name: Task referring to a missing module | ||
this_module_does_not_exist: | ||
foo: bar | ||
|
||
- name: Use raw to echo | ||
ansible.builtin.debug: # <-- this should be converted to fqcn | ||
msg: some message! |
13 changes: 13 additions & 0 deletions
13
examples/playbooks/4114/transform-with-missing-role-and-modules.yml
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,13 @@ | ||
--- | ||
- name: Reproducer for bug 4114 | ||
hosts: localhost | ||
roles: | ||
- this_role_is_missing | ||
tasks: | ||
- name: Task referring to a missing module | ||
this_module_does_not_exist: | ||
foo: bar | ||
|
||
- name: Use raw to echo | ||
debug: # <-- this should be converted to fqcn | ||
msg: some message! |
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
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
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