- name: Create uptime kuma volume become: true community.docker.docker_volume: name: uptime-kuma - name: Start uptime kuma container become: true community.docker.docker_container: name: uptime-kuma-1 image: louislam/uptime-kuma:1.23.15 volumes: - uptime-kuma:/app/data networks: - name: haproxy restart_policy: unless-stopped