-
-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sifus
committed
Jan 15, 2021
1 parent
2f7ac18
commit accffc6
Showing
3 changed files
with
36 additions
and
0 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,11 @@ | ||
- hosts: localhost | ||
tasks: | ||
- name: foo | ||
debug: | ||
msg: bar | ||
command: echo | ||
# On this file ansible-playbook --syntax-check reports: | ||
# ERROR! conflicting action statements: debug, command | ||
# | ||
# The error appears to be in 'test/conflicting_action.yml': line 3, column 7, but may | ||
# be elsewhere in the file depending on the exact syntax problem. |
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,9 @@ | ||
--- | ||
- hosts: bobbins | ||
|
||
tasks: | ||
- name: a bad play | ||
action: command service blah restart | ||
|
||
- name: incorrect brackets | ||
file: "{{space}}" |