homeserver/roles/mgrote.acng/tasks/main.yml

24 lines
557 B
YAML
Raw Normal View History

---
- name: install apt-cacher-ng packages
2020-08-18 11:57:53 +02:00
become: yes
ansible.builtin.package:
2020-08-18 11:57:53 +02:00
name: apt-cacher-ng
state: present
- name: templating acng.conf
2020-08-18 11:57:53 +02:00
become: yes
ansible.builtin.template:
2020-08-18 11:57:53 +02:00
src: "acng.conf"
dest: "/etc/apt-cacher-ng/acng.conf"
mode: 0664
2020-08-18 11:57:53 +02:00
notify: acng_starten_aktivieren
- name: templating security.conf
become: yes
ansible.builtin.template:
src: "security.conf"
dest: "{{ acng_security_conf_path }}"
mode: 0640
notify: acng_starten_aktivieren
no_log: true