Serialize puppet on afs servers properly

We were matching afs* as a glob to serialize puppet runs on afs servers.
This was fine until we added afs-client and afsadmin groups to our
inventory which matched afs*. These groups included many nodes including
our mirror nodes and zuul executors all of which were running puppet
serially which is slow.

Fix this by explicitly using the afs and afsdb groups instead of a glob.

Change-Id: If21bbc48b19806343617e18fb03416c642e00ed2
This commit is contained in:
Clark Boylan 2018-09-06 15:54:52 -07:00
parent 07ce708315
commit 54f250cafb
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
- hosts: "afs*:!disabled"
- hosts: "afs:afsdb:!disabled"
strategy: free
roles:
- puppet

View File

@ -1,4 +1,4 @@
- hosts: 'puppet:!review:!git0*:!zuul-scheduler:!afs*:!puppetmaster*:!disabled'
- hosts: 'puppet:!review:!git0*:!zuul-scheduler:!afs:!afsdb:!puppetmaster*:!disabled'
strategy: free
roles:
- puppet