
Rather than list the hostnames individually, use the inventory group. Change-Id: I554fb33f26c31df5f97ffd5be61f6d3e17faefa5
8 lines
218 B
YAML
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
|