Browse Source

Update file.sls

update replace
pull/206/head
preussal 5 years ago
parent
commit
ca7255add7
No account linked to committer's email address
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      linux/system/file.sls

+ 1
- 3
linux/system/file.sls View File

- name: {{ file_name }} - name: {{ file_name }}
{%- endif %} {%- endif %}
- makedirs: {{ file.get('makedirs', 'True') }} - makedirs: {{ file.get('makedirs', 'True') }}
- replace: {{ file.get('replace', 'True') }}
- user: {{ file.get('user', 'root') }} - user: {{ file.get('user', 'root') }}
- group: {{ file.get('group', 'root') }} - group: {{ file.get('group', 'root') }}
{%- if file.mode is defined %} {%- if file.mode is defined %}
{%- if file.encoding is defined %} {%- if file.encoding is defined %}
- encoding: {{ file.encoding }} - encoding: {{ file.encoding }}
{%- endif %} {%- endif %}
{%- if file.replace is defined %}
- replace: {{ file.replace }}
{%- endif %}
{%- endfor %} {%- endfor %}



Loading…
Cancel
Save