Files
fedora-infra_ansible/playbooks/run_fasClient.yml
2014-08-13 15:56:22 +00:00

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')