forked from evolix/ansible-roles
evolinux-base: configure listchanges in packages.yml
This commit is contained in:
parent
34669fdfd0
commit
b7afc859b8
|
@ -55,8 +55,6 @@
|
||||||
backup: yes
|
backup: yes
|
||||||
mode: 0640
|
mode: 0640
|
||||||
|
|
||||||
# TODO: use ini_file when Ansible > 2.1 (no_extra_spaces: yes)
|
|
||||||
|
|
||||||
- name: Remove Aptitude
|
- name: Remove Aptitude
|
||||||
apt:
|
apt:
|
||||||
name: aptitude
|
name: aptitude
|
||||||
|
|
|
@ -77,3 +77,15 @@
|
||||||
- rpcbind
|
- rpcbind
|
||||||
- nfs-common
|
- nfs-common
|
||||||
when: evolinux_delete_nfs
|
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"
|
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