forked from evolix/ansible-roles
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)
|
# 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
|
- name: Remove Aptitude
|
||||||
apt:
|
apt:
|
||||||
name: aptitude
|
name: aptitude
|
||||||
|
|
|
@ -115,3 +115,13 @@
|
||||||
regexp: "allow-hotplug"
|
regexp: "allow-hotplug"
|
||||||
replace: "auto"
|
replace: "auto"
|
||||||
backup: yes
|
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