changed variable-names in jinja according to https://github.com/ansible/ansible/issues/3907
This commit is contained in:
parent
f156e4b74a
commit
20b81e67f6
|
@ -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 }}
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
} %}
|
||||
|
|
Loading…
Reference in New Issue