2021-09-25 16:14:22 +02:00
|
|
|
---
|
|
|
|
{%- from "chrome/map.jinja" import chrome with context %}
|
|
|
|
|
|
|
|
{%- for dir in chrome.directories %}
|
|
|
|
chrome-directory-{{ dir }}:
|
|
|
|
file.directory:
|
|
|
|
- name: {{ dir }}
|
|
|
|
- makedirs: True
|
|
|
|
{%- endfor %}
|
|
|
|
|
|
|
|
chrome-policies-managed:
|
|
|
|
file.managed:
|
|
|
|
- name: /etc/opt/chrome/policies/managed/managed_policies.json
|
|
|
|
- source: salt://chrome/config.json.j2
|
|
|
|
- context:
|
2023-01-20 13:23:56 +01:00
|
|
|
config: {{ chrome.config.managed }}
|
2021-09-25 16:14:22 +02:00
|
|
|
- template: jinja
|