- name: add correct apt repo become: yes apt_repository: repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{lsb_release_output.stdout}} stable state: present