Jérémy Lecour
2ed77c60f0
replace « x | changed » by « x is changed » add explicit « bool » filter use « length » filter instead of string comparison
18 lines
318 B
YAML
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
|