evolinux-base: don't use /etc/apt/listchanges.conf before apt-listchanges install
This commit is contained in:
parent
3f2fe68189
commit
6cdab4e68b
|
@ -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
|
||||
|
|
|
@ -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" }
|
||||
|
||||
|
|
Loading…
Reference in a new issue