This repository has been archived on 2020-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
2017-08-17 17:17:11 +02:00
|
|
|
---
|
|
|
|
# tasks file for config
|
|
|
|
|
|
|
|
- name: CONFIG APT
|
|
|
|
template:
|
|
|
|
src: "{{ item }}.j2"
|
|
|
|
dest: "/{{ item }}"
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
with_items:
|
2017-08-18 11:18:30 +02:00
|
|
|
- "etc/apt/apt.conf.d/01autoremove.conf"
|
|
|
|
- "etc/apt/apt.conf.d/10general.conf"
|
|
|
|
- "etc/apt/apt.conf.d/10periodic.conf"
|
2017-08-17 17:31:56 +02:00
|
|
|
|
2017-08-18 10:12:38 +02:00
|
|
|
- name: CONFIG dpkg
|
|
|
|
template:
|
|
|
|
src: "{{ item }}.j2"
|
|
|
|
dest: "/{{ item }}"
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
with_items:
|
2017-08-18 11:18:30 +02:00
|
|
|
- "etc/apt/apt.conf.d/20dpkg.conf"
|
2017-08-18 10:12:38 +02:00
|
|
|
|
2017-08-18 13:52:01 +02:00
|
|
|
- name: CONFIG unattended-upgrades
|
|
|
|
template:
|
|
|
|
src: "{{ item }}.j2"
|
|
|
|
dest: "/{{ item }}"
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
with_items:
|
|
|
|
- "etc/apt/apt.conf.d/50unattended-upgrades.conf"
|
|
|
|
when: apt_unattended_upgrades
|
|
|
|
|
2017-08-17 17:31:56 +02:00
|
|
|
- name: CONFIG purge default config
|
|
|
|
file:
|
|
|
|
path: "/etc/apt/apt.conf.d/{{ item }}"
|
|
|
|
state: absent
|
|
|
|
with_items:
|
|
|
|
- "{{ apt_conf_purge_list }}"
|
|
|
|
when: apt_conf_purge_manage
|