--- - hosts: all become: yes gather_facts: true tasks: - name: "Updating and Upgrading Apt Packages" apt: update_cache: yes upgrade: safe # Specific adjustments for Raspbian can be made here, if necessary # Raspbian will typically be covered by the Debian task, but if you have specific needs, you can specify them here.