common: run apt task to ensure python-apt is installed

This commit is contained in:
Markus 2018-10-15 21:47:03 +02:00
parent e88a6e5691
commit 65786edf03
2 changed files with 4 additions and 1 deletions

View File

@ -60,7 +60,6 @@
- name: Create LDAP client config
template: src=ldap.conf.j2 dest=/etc/ldap/ldap.conf mode=0644
- name: Disable hibernation/resume
copy: src=resume dest=/etc/initramfs-tools/conf.d/resume
notify: update-initramfs

View File

@ -1,5 +1,9 @@
---
# This playbook contains common plays that will be run on all nodes.
- name: Cleanup
apt: autoclean=yes
when: ansible_os_family == 'Debian'
- name: Gather package facts
package_facts:
manager: apt