mercurial/web/tasks/main.yaml
changeset 195 da34c8d7511d
parent 58 baca37fdc8c3
child 227 2e0366f2dcbe
--- a/mercurial/web/tasks/main.yaml	Sat Sep 10 15:18:24 2022 -0500
+++ b/mercurial/web/tasks/main.yaml	Sun Sep 11 14:08:17 2022 -0500
@@ -1,13 +1,10 @@
 ---
 
-- name: pip install mercurial
-  become: yes
-  pip: name="mercurial" executable="pip3"
-
 - name: apt install uwsgi
   become: yes
   apt: name="{{item}}"
   loop:
+    - "mercurial"
     - "uwsgi"
     - "uwsgi-plugin-python3"
     - "python3-pygments"
@@ -36,4 +33,8 @@
 
 - name: ensure uwsgi service is started
   become: yes
-  systemd: name="uwsgi.service" enabled="yes"
+  systemd: name="[email protected]" enabled="yes"
+
+- name: ensure uwsgi service is started
+  become: yes
+  systemd: name="[email protected]" enabled="yes"