add quotes around octal values
YAML loaders will load them as strings, providing a consistent behavior. This is also safer as JSON does not support octal values either.
This commit is contained in:
@@ -4,6 +4,6 @@
|
||||
copy:
|
||||
src: "ssh/"
|
||||
dest: "~/.ssh/"
|
||||
mode: 0600
|
||||
mode: "0600"
|
||||
directory_mode: true
|
||||
become_user: "{{ main_user }}"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
template:
|
||||
src: "tfvars_token.j2"
|
||||
dest: "~/.tfvars_token_dtsv"
|
||||
mode: 0640
|
||||
mode: "0640"
|
||||
become_user: "{{ main_user }}"
|
||||
|
||||
- name: Add .tfvars_token to .bash_profile
|
||||
@@ -12,5 +12,5 @@
|
||||
path: "~/.bash_profile"
|
||||
create: true
|
||||
line: "source ~/.tfvars_token_dtsv"
|
||||
mode: 0644
|
||||
mode: "0644"
|
||||
become_user: "{{ main_user }}"
|
||||
|
||||
Reference in New Issue
Block a user