mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 10:32:27 +08:00
25 lines
630 B
YAML
25 lines
630 B
YAML
# Run `fasClient` on all hosts, N hosts at a time
|
|
#
|
|
# We exclude builders, persistent-cloud and jenkins-cloud as they don't have fasclient
|
|
#
|
|
|
|
- name: run fasClient -i
|
|
hosts: all:!builders:!persistent-cloud:!jenkins-cloud:!bkernel:!*composer*
|
|
user: root
|
|
serial: 25
|
|
gather_facts: False
|
|
|
|
tasks:
|
|
- name: actually run fasClient -i
|
|
command: fasClient -i
|
|
|
|
- name: run fasClient -a
|
|
hosts: bastion01.phx2.fedoraproject.org:bastion02.phx2.fedoraproject.org
|
|
user: root
|
|
gather_facts: False
|
|
|
|
tasks:
|
|
- name: actually run fasClient -a
|
|
command: fasClient -a
|
|
when: inventory_hostname_short.startswith('bastion0')
|