try to fix forbidden jinja syntax 3
This commit is contained in:
parent
317f327b51
commit
154249141b
1 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ system_base_apps_dir:
|
|||
- dir_mode: '0755'
|
||||
- file_mode: '0644'
|
||||
|
||||
{% set OS_VERSION = salt['cmd.shell']('date "+%Y%m"') %}
|
||||
{% set OS_VERSION_DATE = salt['cmd.shell']('date "+%Y%m"') %}
|
||||
|
||||
system_base_os-release:
|
||||
file.managed:
|
||||
|
@ -34,7 +34,7 @@ system_base_os-release:
|
|||
- source: salt://{{ tpldir }}/files/base_os-release.jinja
|
||||
- template: jinja
|
||||
- context:
|
||||
OS_VERSION: {{ OS_VERSION }}
|
||||
OS_VERSION: {{ OS_VERSION_DATE }}
|
||||
- user: root
|
||||
- group: root
|
||||
- mode: '0644'
|
||||
|
@ -54,4 +54,4 @@ system_base_motd:
|
|||
- group: root
|
||||
- mode: '0644'
|
||||
- require:
|
||||
- system_base_os-release
|
||||
- system_base_os-release
|
||||
|
|
Loading…
Reference in a new issue