- hosts: localhost1 name: Apt udate connection: local ansible_user: root tasks: - name: Apt exclude linux-dtb-current-meson64 ansible.builtin.shell: 'apk update' - name: Apt exclude linux-dtb-current-meson64 ansible.builtin.shell: 'apk add py3-jmespath'