evolinux-base: don't use /etc/apt/listchanges.conf before apt-listchanges install

This commit is contained in:
Gregory Colpart 2016-12-27 20:14:47 +01:00
parent 3f2fe68189
commit 6cdab4e68b
2 changed files with 10 additions and 9 deletions

View file

@ -51,15 +51,6 @@
# TODO: use ini_file when Ansible > 2.1 (no_extra_spaces: yes)
- name: Configure Listchanges
lineinfile:
dest: /etc/apt/listchanges.conf
regexp: '^{{ item.option }}\s*='
line: "{{ item.option }}={{ item.value }}"
with_items:
- { option: "confirm", value: "1" }
- { option: "which", value: "both" }
- name: Remove Aptitude
apt:
name: aptitude

View file

@ -115,3 +115,13 @@
regexp: "allow-hotplug"
replace: "auto"
backup: yes
- name: Configure Listchanges
lineinfile:
dest: /etc/apt/listchanges.conf
regexp: '^{{ item.option }}\s*='
line: "{{ item.option }}={{ item.value }}"
with_items:
- { option: "confirm", value: "1" }
- { option: "which", value: "both" }