paulbsd-salt/states/misc/init.sls
Paul Lecuq 1b59cdacdd * Update salt states
- bl module updated
- borg state updated
- config state updated
- netbox state updated
- nginx state updated
- misc updates
2022-02-21 13:52:46 +01:00

19 lines
372 B
Plaintext

---
misc-public-dir:
file.directory:
- name: /home/public
- user: root
- group: root
- mode: 0755
{%- for file in salt['pillar.get']('misc_files') %}
{{ file.name }}:
file.managed:
- name: {{ file.dest }}
- source: {{ file.src }}
- source_hash: sha256={{ file.checksum }}
- user: root
- group: root
- mode: 644
{%- endfor %}