From 5e04d504271c88f13585cd6521a528bedd81747e Mon Sep 17 00:00:00 2001 From: Neetha John Date: Thu, 12 Sep 2019 14:24:52 -0700 Subject: [PATCH] Fix merge error for #1096 (#1112) --- .../test/tasks/common_tasks/update_supervisor.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ansible/roles/test/tasks/common_tasks/update_supervisor.yml diff --git a/ansible/roles/test/tasks/common_tasks/update_supervisor.yml b/ansible/roles/test/tasks/common_tasks/update_supervisor.yml new file mode 100644 index 00000000000..45dba5f43cb --- /dev/null +++ b/ansible/roles/test/tasks/common_tasks/update_supervisor.yml @@ -0,0 +1,12 @@ +- fail: msg="supervisor_host is not defined" + when: "supervisor_host is not defined" + +- name: "Reread supervisor configuration" + shell: "supervisorctl reread" + become: "yes" + delegate_to: "{{ supervisor_host }}" + +- name: "Update supervisor configuration" + shell: "supervisorctl update" + become: "yes" + delegate_to: "{{ supervisor_host }}"