deploy/test_playbook.yml
author ymh <ymh.work@gmail.com>
Mon, 17 Sep 2018 00:28:58 +0200
changeset 3 7af67d500dd5
parent 2 f72ffe8b30b1
child 5 b26c9c44dd84
permissions -rw-r--r--
Correct prod dicussion js url

---
#
# all actions
#
- hosts: all
  become: true
  tasks:
    - name: install deps
      apk:
        name: python-dev,python3-dev,py-virtualenv,nginx,supervisor,shadow,build-base,musl-dev,gcc,linux-headers,libffi,libffi-dev
        update_cache: yes
    - name: create etc supervisor.d folder
      file:
        path: /etc/supervisor.d
        state: directory
    - name: starts supervisord
      service:
        name: supervisord
        state: started