mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
supervisorctl: investigate integration tests (#11057)
* supervisorctl: investigate integration tests * wait for supervisord to complete stop * adjust in module
This commit is contained in:
@@ -5,3 +5,10 @@
|
||||
|
||||
- name: stop supervisord
|
||||
command: "supervisorctl -c {{ remote_dir }}/supervisord.conf {% if credentials.username %}-u {{ credentials.username }} -p {{ credentials.password }}{% endif %} shutdown"
|
||||
|
||||
- name: wait_for supervisord to stop
|
||||
ansible.builtin.wait_for:
|
||||
port: 9001
|
||||
host: 127.0.0.1
|
||||
timeout: 15
|
||||
state: stopped
|
||||
|
||||
Reference in New Issue
Block a user