system-config/playbooks/zuul_reconfigure.yaml
Joshua Hesketh 600d87ffe5 Use host groups for zuul playbooks
Rather than list the hostnames individually, use the inventory group.

Change-Id: I554fb33f26c31df5f97ffd5be61f6d3e17faefa5
2018-09-12 12:26:43 -06:00

8 lines
218 B
YAML

- hosts: 'zuul-scheduler:!disabled'
any_errors_fatal: true
tasks:
- name: Reconfigure the zuul scheduler
command: /usr/local/bin/zuul-scheduler full-reconfigure
become: true
become_user: root