Files
fedora-infra_ansible/playbooks/run_fasClient.yml
Pierre-Yves Chibon 86c9f96b6b Run fasClient -a before fasClient -i
fasClient -a is faster and it concerns only a couple of hosts and for FMN
integration where we need the user to have the alias <fasuser>@fp.o we need
the aliases to be generated as quickly as possible when the user is joining the
packager group (especially if it is the first non-cla group that user is
joining)
2014-11-06 17:26:51 +01:00

26 lines
631 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 -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')
- 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