ansible/playbooks/run_fasClient.yml
Kevin Fenzi 68bcc9bff7 Switch from people03 to people01.
Switch backups
Change fasClient runs to run on people01 instead of people03.
Change sync logs to get from people01
Change nagios to monitor people01 instead of people03
Change quota limits some to work better.
Enable planet cron jobs on people01.
2015-07-08 21:08:47 +00:00

34 lines
1.1 KiB
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 to make email aliases on bastion
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 on people and hosted and pkgs first as these are the ones most people want updated
hosts: people01.fedoraproject.org:pkgs02.phx2.fedoraproject.org:hosted03.fedoraproject.org
user: root
gather_facts: False
tasks:
- name: actually run fasClient -i
command: fasClient -i
- name: run fasClient -i on the rest of hosts which only affects sysadmins
hosts: all:!buildvm-01.stg*:!fed-cloud0*:!builders:!persistent-cloud:!jenkins-cloud:!bkernel:!*composer*:!people*:!pkgs02*:!hosted03*:!*.stg.*
user: root
serial: 75
gather_facts: False
tasks:
- name: actually run fasClient -i
command: fasClient -i