diff --git a/apt_upgrade.yaml b/apt_upgrade.yaml new file mode 100644 index 0000000..3dad61b --- /dev/null +++ b/apt_upgrade.yaml @@ -0,0 +1,11 @@ +- hosts: black_vm:black + tasks: + - apt: + update_cache: true + upgrade: 'dist' + when: ansible_distribution == 'Debian' + - apk: + available: true + upgrade: true + update_cache: true + when: ansible_distribution == 'Alpine'