deploy/test_playbook.yml
author ymh <ymh.work@gmail.com>
Mon, 17 Sep 2018 01:35:46 +0200
changeset 4 df751568fda6
parent 2 f72ffe8b30b1
child 5 b26c9c44dd84
permissions -rw-r--r--
Add dashboardId for calculating discussionId

---
#
# 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