YAML loaders will load them as strings, providing a consistent behavior. This is also safer as JSON does not support octal values either.
17 lines
354 B
YAML
17 lines
354 B
YAML
---
|
|
|
|
- name: Create .tfvars_token_dtsv
|
|
template:
|
|
src: "tfvars_token.j2"
|
|
dest: "~/.tfvars_token_dtsv"
|
|
mode: "0640"
|
|
become_user: "{{ main_user }}"
|
|
|
|
- name: Add .tfvars_token to .bash_profile
|
|
lineinfile:
|
|
path: "~/.bash_profile"
|
|
create: true
|
|
line: "source ~/.tfvars_token_dtsv"
|
|
mode: "0644"
|
|
become_user: "{{ main_user }}"
|