--- - name: Test connectivity and gather system information hosts: all become: false tasks: - name: Update and upgrade packages ansible.builtin.apt: update_cache: yes upgrade: full