forked from infra/ansible
common: run apt task to ensure python-apt is installed
This commit is contained in:
parent
e88a6e5691
commit
65786edf03
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user