mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
8a8e6c8058
(cherry picked from commit 20db4fc560
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
12 lines
299 B
YAML
12 lines
299 B
YAML
- name: generate supervisor configuration
|
|
template:
|
|
src: supervisord.conf
|
|
dest: '{{ remote_dir }}/supervisord.conf'
|
|
|
|
- block:
|
|
- import_tasks: start_supervisord.yml
|
|
|
|
- import_tasks: test_start.yml
|
|
- import_tasks: test_stop.yml
|
|
always:
|
|
- import_tasks: stop_supervisord.yml
|