Remove jinja stuff

This commit is contained in:
LinuxSquare 2023-09-29 20:30:56 +02:00
parent 218910bb39
commit 132ba0aee1

View file

@ -41,10 +41,6 @@ system_base_motd:
file.managed:
- name: /etc/motd
- source: salt://{{ tpldir }}/files/base_motd.jinja
- template: jinja
- context:
OS_NAME: {{ salt['cmd.shell']('grep -E ^NAME /etc/os-release | cut -d= -f2 | sed \'s~"~~g\'') }}
OS_VERSION: {{ salt['cmd.shell']('grep -E ^VERSION_ID /etc/os-release | cut -d= -f2 | sed \'s~"~~g\'') }}
- user: root
- group: root
- mode: '0644'