Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Zeige upgradefähige Pakete auf deb-basierte Servern und gebe sie aus
- hosts: servers
tasks:
- name:
apt:
update_cache: yes
- name:
command: apt list --upgradable
register: updates
- debug: var=updates.stdout_lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment