Use strategy free for git servers
In an effort to improve performance, switch out strategy[1] to free. This will allow each ansible host to run until the end of the play as fast as it can. [1] http://docs.ansible.com/ansible/playbooks_strategies.html Change-Id: I86588154b71e69399be930fc78be7c17f54fd9dd Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
996fb549d5
commit
1e93aed83c
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: "localhost:!disabled"
|
||||
strategy: free
|
||||
gather_facts: true
|
||||
connection: local
|
||||
tasks:
|
||||
@ -12,6 +13,7 @@
|
||||
copy_hieradata: False
|
||||
copy_puppet: False
|
||||
- hosts: "git0*:!disabled"
|
||||
strategy: free
|
||||
gather_facts: true
|
||||
max_fail_percentage: 1
|
||||
roles:
|
||||
@ -19,6 +21,7 @@
|
||||
facts:
|
||||
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
||||
- hosts: "review.openstack.org:!disabled"
|
||||
strategy: free
|
||||
gather_facts: true
|
||||
roles:
|
||||
- role: puppet
|
||||
|
Loading…
Reference in New Issue
Block a user