- hosts: morefine name: Apt udate become: true tasks: - name: Apt update ansible.builtin.shell: 'apt update' changed_when: false - name: Apt upgrade ansible.builtin.shell: 'apt -o Dpkg::Options::="--force-confnew" upgrade -y' changed_when: false