cellinfo
/
ansible.apt
Archived
2
0
Fork 0
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.
ansible.apt/tasks/config.yml

31 lines
569 B
YAML
Raw Normal View History

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:
- "etc/apt/apt.conf.d/10periodic"
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:
- "etc/apt/apt.conf.d/20dpkg"
- 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