ansible-roles/supervisord/tasks/main.yml
Jérémy Lecour 00fe225a3c
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2615|7|2608|177|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/278//ansiblelint">Evolix » ansible-roles » unstable #278</a>
gitea/ansible-roles/pipeline/head This commit looks good
force: [yes,no] → force [true,false]
2023-06-28 13:25:30 +02:00

18 lines
353 B
YAML

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