--- - name: Install docker pacman: name: - docker state: present - name: Enable docker daemon service: name: docker state: started enabled: yes