mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 10:31:27 +08:00
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)
This commit is contained in:
@@ -3,6 +3,16 @@
|
||||
# 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
|
||||
@@ -13,12 +23,3 @@
|
||||
- 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')
|
||||
|
||||
Reference in New Issue
Block a user