changed variable-names in jinja according to https://github.com/ansible/ansible/issues/3907

This commit is contained in:
Thorsten Bro 2016-09-28 16:44:20 +02:00
parent f156e4b74a
commit 20b81e67f6
2 changed files with 4 additions and 4 deletions

View File

@ -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 }}

View File

@ -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',
},
} %}