homeserver/roles/mgrote.apt_manage_sources/tasks/ubuntu.yml
mg d06110a9ce apt.conf (#140)
apcupsd verschoben

pihole vars

vars

vars

apt.conf

tasks

templates

acng https passtrough

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#140
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-07-01 17:36:56 +02:00

9 lines
274 B
YAML

---
- name: ensure apt.conf exists
become: true
ansible.builtin.template:
src: apt.conf
dest: "{{ apt_proxy_apt_conf_path | default ('/etc/apt/apt.conf') }}"
backup: yes
register: copy_src
when: manage_sources_apt_proxy_server is defined