2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-14 09:14:04 +00:00
bench/playbooks/roles/supervisor/tasks/main.yml

9 lines
277 B
YAML
Raw Normal View History

2017-10-10 07:18:39 +00:00
---
- name: Install supervisor on centos
yum: name=supervisor state=present
when: ansible_os_family == 'RedHat'
- name: Install supervisor on debian
apt: pkg=supervisor state=present force=yes
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'