Skip to content

Instantly share code, notes, and snippets.

@fefulowe
fefulowe / debian_upgrade.yml
Last active Aug 23, 2017 — forked from maethor/debian_upgrade.yml
Ansible playbook to update and upgrade Debian hosts
View debian_upgrade.yml
---
- hosts: all
sudo: yes
tasks:
- name: Update packages list
apt: update_cache=yes
when: ansible_os_family == 'Debian'
- name: List packages to upgrade (1/2)
You can’t perform that action at this time.