ansible-roles/supervisord/tasks/main.yml
Jérémy Lecour 2ed77c60f0 Improve Ansible syntax
replace « x | changed » by « x is changed »
add explicit « bool » filter
use « length » filter instead of string comparison
2021-05-09 23:06:42 +02:00

18 lines
318 B
YAML

---
- name: Install Supervisor
apt:
name: supervisor
tags:
- supervisord
- name: Add http configuration for Supervisor
copy:
src: http.conf
dest: /etc/supervisor/conf.d/
mode: "0644"
force: no
notify: restart supervisor
when: supervisord_enable_http | bool
tags:
- supervisord