-
-
Save yteraoka/6496608 to your computer and use it in GitHub Desktop.
Ansible の YAML で「:」を使う方法 ref: http://qiita.com/yteraoka/items/2afaa39d0635c7af1de4
This file contains hidden or 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
colon: ':' |
This file contains hidden or 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
ERROR: Syntax Error while loading YAML script, ... | |
Note: The error may actually appear before this position: line 1, column 63 |
This file contains hidden or 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
- lineinfile: > | |
regexp='^%wheel' | |
line='%wheel ALL=(ALL) NOPASSWD: ALL' | |
dest=/etc/sudoers |
This file contains hidden or 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
- lineinfile: > | |
regexp='^%wheel' | |
line='%wheel ALL=(ALL) NOPASSWD{{colon}} ALL' | |
dest=/etc/sudoers |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment