evolinux-base: configure listchanges in packages.yml

This commit is contained in:
Jérémy Lecour 2016-12-28 15:15:09 +01:00 committed by Jérémy Lecour
parent 34669fdfd0
commit b7afc859b8
3 changed files with 12 additions and 12 deletions

View File

@ -55,8 +55,6 @@
backup: yes
mode: 0640
# TODO: use ini_file when Ansible > 2.1 (no_extra_spaces: yes)
- name: Remove Aptitude
apt:
name: aptitude

View File

@ -77,3 +77,15 @@
- rpcbind
- nfs-common
when: evolinux_delete_nfs
# 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" }

View File

@ -131,13 +131,3 @@
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" }