- name: "stopping SpaceDock web services on ports {{ sd.service.port }}" loop: "{{ sd.service.port }}" systemd: name: "spacedock@{{ item }}" state: stopped - name: Stopping SpaceDock mail services systemd: name: spacedock-celery state: stopped #- name: Stopping SpaceDock prepare services # systemd: # name: spacedock-prepare # state: stopped - name: "Getting SpaceDock from Github {{ sd.service.path.web }}" git: repo: "{{ sd.git.url }}" dest: "{{ sd.service.path.web }}" - name: "starting SpaceDock web services on ports {{ sd.service.port }}" loop: "{{ sd.service.port }}" systemd: name: "spacedock@{{ item }}" state: started enabled: yes - name: Starting SpaceDock mail services systemd: name: spacedock-celery state: started enabled: yes #- name: Starting SpaceDock prepare services # systemd: # name: spacedock-prepare # state: started # enabled: yes