mercurial/web/tasks/main.yaml
changeset 195 da34c8d7511d
parent 58 baca37fdc8c3
child 227 2e0366f2dcbe
equal deleted inserted replaced
194:d1e44e23f48e 195:da34c8d7511d
     1 ---
     1 ---
     2 
       
     3 - name: pip install mercurial
       
     4   become: yes
       
     5   pip: name="mercurial" executable="pip3"
       
     6 
     2 
     7 - name: apt install uwsgi
     3 - name: apt install uwsgi
     8   become: yes
     4   become: yes
     9   apt: name="{{item}}"
     5   apt: name="{{item}}"
    10   loop:
     6   loop:
       
     7     - "mercurial"
    11     - "uwsgi"
     8     - "uwsgi"
    12     - "uwsgi-plugin-python3"
     9     - "uwsgi-plugin-python3"
    13     - "python3-pygments"
    10     - "python3-pygments"
    14   notify: restart uwsgi
    11   notify: restart uwsgi
    15 
    12 
    34     state: "link"
    31     state: "link"
    35   notify: restart uwsgi
    32   notify: restart uwsgi
    36 
    33 
    37 - name: ensure uwsgi service is started
    34 - name: ensure uwsgi service is started
    38   become: yes
    35   become: yes
    39   systemd: name="uwsgi.service" enabled="yes"
    36   systemd: name="[email protected]" enabled="yes"
       
    37 
       
    38 - name: ensure uwsgi service is started
       
    39   become: yes
       
    40   systemd: name="[email protected]" enabled="yes"