From 20b81e67f667e430a2b03177865f0e67d078670a Mon Sep 17 00:00:00 2001 From: Thorsten Bro Date: Wed, 28 Sep 2016 16:44:20 +0200 Subject: [PATCH] changed variable-names in jinja according to https://github.com/ansible/ansible/issues/3907 --- timezone/init.sls | 4 ++-- timezone/map.jinja | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/timezone/init.sls b/timezone/init.sls index f1664d1..081e147 100644 --- a/timezone/init.sls +++ b/timezone/init.sls @@ -15,8 +15,8 @@ timezone.packages: timezone.symlink: file.symlink: - - name: {{ confmap.path-localtime }} - - target: {{ confmap.path-zoneinfo }}{{ timezone }} + - name: {{ confmap.path_localtime }} + - target: {{ confmap.path_zoneinfo }}{{ timezone }} - force: true - require: - pkg: {{ confmap.pkgname }} diff --git a/timezone/map.jinja b/timezone/map.jinja index 49bef33..9586f2b 100644 --- a/timezone/map.jinja +++ b/timezone/map.jinja @@ -1,7 +1,7 @@ {% set map = { 'Suse': { - 'path-localtime': '/etc/localtime', - 'path-zoneinfo': '/usr/share/zoneinfo/', + 'path_localtime': '/etc/localtime', + 'path_zoneinfo': '/usr/share/zoneinfo/', 'pkgname': 'timezone', }, } %}