From bed24ba5e067b5a4ff0ed1977a062a57a020e055 Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Wed, 12 Sep 2018 11:28:52 -0600 Subject: [PATCH] Add zuul_reconfigure playbook Reconfigure a running zuul-scheduler. Change-Id: I21f16c221903ccd9b726a091c3acf3e755788263 --- playbooks/zuul_reconfigure.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 playbooks/zuul_reconfigure.yaml diff --git a/playbooks/zuul_reconfigure.yaml b/playbooks/zuul_reconfigure.yaml new file mode 100644 index 0000000000..aad04145ea --- /dev/null +++ b/playbooks/zuul_reconfigure.yaml @@ -0,0 +1,7 @@ +- hosts: 'zuul01.openstack.org' + any_errors_fatal: true + tasks: + - name: Reconfigure the zuul scheduler + command: /usr/local/bin/zuul-scheduler full-reconfigure + become: true + become_user: root