From aebd9fa1732d955c69082f71a9db0df8b0c27417 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 17 Jul 2020 16:18:26 -0700 Subject: [PATCH] Update zuul-executor stop/start playbook These are running in docker now, update the stop/start commands. Change-Id: I5c526863e4ef2bea94b0c2317abd443271bd12ba --- playbooks/start-mergers-executors.yaml | 5 ++++- playbooks/stop-mergers-executors.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/playbooks/start-mergers-executors.yaml b/playbooks/start-mergers-executors.yaml index 1867611a6f..540cb8d1b2 100644 --- a/playbooks/start-mergers-executors.yaml +++ b/playbooks/start-mergers-executors.yaml @@ -6,4 +6,7 @@ - hosts: zuul-executor tasks: - - shell: systemctl start zuul-executor + - shell: + cmd: docker-compose up -d + chdir: /etc/zuul-executor + diff --git a/playbooks/stop-mergers-executors.yaml b/playbooks/stop-mergers-executors.yaml index 81a3d4e1f4..b098f693ad 100644 --- a/playbooks/stop-mergers-executors.yaml +++ b/playbooks/stop-mergers-executors.yaml @@ -6,4 +6,7 @@ - hosts: zuul-executor tasks: - - shell: systemctl stop zuul-executor + - shell: + cmd: docker-compose down + chdir: /etc/zuul-executor +