--- - name: Install docker apt: name: - docker.io - python3-docker - name: Enable docker service: name=docker state=started enabled=yes