Browse Source

For GANDI installs, remove useless (and nasty) sources.list.d/*.list files

evolinux-users
Gregory Colpart 4 years ago
parent
commit
458a199f1e
  1. 2
      apt/defaults/main.yml
  2. 10
      apt/tasks/basics.yml

2
apt/defaults/main.yml

@ -6,3 +6,5 @@ apt_install_backports: False
apt_backports_components: "main"
apt_install_evolix_public: True
apt_clean_gandi_sourceslist: False

10
apt/tasks/basics.yml

@ -10,6 +10,16 @@
tags:
- apt
- name: Clean GANDI sources.list.d/debian-security.list
file:
path: '{{ item }}'
state: absent
with_items:
- /etc/apt/sources.list.d/debian-security.list
- /etc/apt/sources.list.d/debian-stretch.list
- /etc/apt/sources.list.d/debian-update.list
when: apt_clean_gandi_sourceslist
- name: Intermediate flush of handlers
meta: flush_handlers
tags:

Loading…
Cancel
Save