Created
May 26, 2016 12:13
-
-
Save sperlic/ede2e0f9177f5f550e20b9154c0c45d3 to your computer and use it in GitHub Desktop.
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
Formatiranje | |
Nemojte koristiti YAML karakter > koji najavljuje prelamenje reda | |
neispravno_formatiran.yml | |
- file: > | |
dest='{{ foo_path }}' | |
src='foo.txt' | |
mode=0077 | |
state=present | |
user='deploy' | |
group='wheel' | |
Ili samo jednu liniju | |
neispravno_formatiran.yml | |
- file: dest='{{ foo_path }}' src='foo.conf' mode=0077 state=present user='deploy' group='wheel' | |
Opcije modula razdvojite novim redom a njihove vrednosti dvotačkom | |
ispravno_formatiran.yml | |
- file: | |
dest: '{{ foo_path }}' | |
src: 'foo.txt' | |
mode: 0077 | |
state: present | |
user: 'deploy' | |
group: 'wheel' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment