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: timezone.symlink:
file.symlink: file.symlink:
- name: {{ confmap.path-localtime }} - name: {{ confmap.path_localtime }}
- target: {{ confmap.path-zoneinfo }}{{ timezone }} - target: {{ confmap.path_zoneinfo }}{{ timezone }}
- force: true - force: true
- require: - require:
- pkg: {{ confmap.pkgname }} - pkg: {{ confmap.pkgname }}

View File

@ -1,7 +1,7 @@
{% set map = { {% set map = {
'Suse': { 'Suse': {
'path-localtime': '/etc/localtime', 'path_localtime': '/etc/localtime',
'path-zoneinfo': '/usr/share/zoneinfo/', 'path_zoneinfo': '/usr/share/zoneinfo/',
'pkgname': 'timezone', 'pkgname': 'timezone',
}, },
} %} } %}