fix(macos): add macos support
This commit is contained in:
parent
646159fc5b
commit
e93df988bb
|
@ -9,6 +9,8 @@ timezone_setting:
|
|||
- name: {{ timezone }}
|
||||
- utc: {{ utc }}
|
||||
|
||||
{%- if grains.os not in ('MacOS', 'Windows') %}
|
||||
|
||||
timezone_packages:
|
||||
pkg.installed:
|
||||
- name: {{ confmap.pkgname }}
|
||||
|
@ -20,3 +22,5 @@ timezone_symlink:
|
|||
- force: true
|
||||
- require:
|
||||
- pkg: {{ confmap.pkgname }}
|
||||
|
||||
{%- endif %}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{% set map = {
|
||||
'MacOS': {
|
||||
},
|
||||
'Debian': {
|
||||
'path_localtime': '/etc/localtime',
|
||||
'path_zoneinfo': '/usr/share/zoneinfo/',
|
||||
|
|
Loading…
Reference in New Issue