--- - name: restart kapacitor docker docker_service: project_src: /srv/kapacitor/ state: present restarted: yes