add supervisor role

This commit is contained in:
2022-08-30 07:51:10 -05:00
parent 3a14992832
commit 49be68b4db
6 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,26 @@
; {{ ansible_managed }}
[unix_http_server]
{% if supervisor_unix_http_server_socket_file is defined %}
file={{ supervisor_unix_http_server_socket_file }}
{% endif %}
{% if supervisor_unix_http_server_socket_chmod is defined %}
chmod={{ supervisor_unix_http_server_socket_chmod }}
{% endif %}
{% if supervisor_unix_http_server_socket_chown is defined %}
chown={{ supervisor_unix_http_server_socket_chown }}
{% endif %}
[supervisord]
logfile={{ supervisor_supervisord_logfile }}
pidfile={{ supervisor_supervisord_pidfile }}
childlogdir={{ supervisor_supervisord_childlogdir }}
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl={{ supervisor_supervisorctl_serverurl }}
[include]
files = {{ supervisor_include_files }}