paulbsd-salt/states/apt/init.sls
Paul Lecuq 24500ff074
Some checks failed
continuous-integration/drone/push Build is failing
updated states (lints) / updated .drone.yml
2022-06-10 00:13:19 +02:00

11 lines
296 B
Plaintext

---
{%- from "apt/map.jinja" import apt with context %}
{% for itemkey, itemvalue in apt.config.items() -%}
apt-proxy-{{ itemkey }}:
file.managed:
- name: /etc/apt/apt.conf.d/{{ k }}
- user: root
- group: root
- mode: "0644"
- contents: {{ itemvalue.content }}
{% endfor -%}