evolinux-base: configure listchanges in packages.yml
This commit is contained in:
parent
34669fdfd0
commit
b7afc859b8
|
@ -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
|
||||
|
|
|
@ -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" }
|
||||
|
|
|
@ -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" }
|
||||
|
||||
|
|
Loading…
Reference in a new issue