evolinux-base: remove aptitude in apt.yml

This commit is contained in:
Jérémy Lecour 2016-12-27 14:02:13 +01:00 committed by Jérémy Lecour
parent 1bc9c7b08a
commit 542cc0ef33
4 changed files with 9 additions and 8 deletions

View file

@ -19,7 +19,7 @@ Main variables are :
* `log2mail_alert_email`: email address to send Log2mail messages to (default: `general_alert_email`).
* `postfix_alias_email`: email address for messages sent to root (default: `general_alert_email`) ;
* `evolinux_apt_hooks`: install APT hooks (default: `True`)
* `evolinux_remove_aptitude`: uninstall aptitude (default: `True`)
* `evolinux_apt_remove_aptitude`: uninstall aptitude (default: `True`)
* `evolinux_delete_nfs`: delete NFS tools (default: `True`)
* `evolinux_ntp_server`: custom NTP server host or IP (default: `Null`)
* `evolinux_additional_packages`: optional additional packages to install (default: `[]`)

View file

@ -17,7 +17,8 @@ evolinux_internal_hostname: "{{ evolinux_hostname }}"
evolinux_apt_repositories_components: "main"
evolinux_apt_hooks: True
evolinux_remove_aptitude: True
evolinux_apt_remove_aptitude: True
# postfix
evolinux_postfix_myorigin: "{{ ansible_fqdn }}"

View file

@ -49,6 +49,12 @@
backup: yes
mode: 0640
- name: Remove Aptitude
apt:
name: aptitude
state: absent
when: evolinux_apt_remove_aptitude
- name: Upgrading system
apt:
upgrade: dist

View file

@ -77,9 +77,3 @@
- rpcbind
- nfs-common
when: evolinux_delete_nfs
- name: Remove Aptitude
apt:
name: aptitude
state: absent
when: evolinux_remove_aptitude