ansible/pull.yml

13 lines
323 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
# vim:ft=ansible:
---
- hosts: all
tasks:
- name: manage apt packages
block:
- name: update apt packages
apt: upgrade=yes update_cache=yes cache_valid_time=86400
- name: autoremove
apt: autoremove=yes
when: ansible_os_family == "Debian"