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:
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
- hosts: "localhost:!disabled"
|
- hosts: "localhost:!disabled"
|
||||||
|
strategy: free
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
connection: local
|
connection: local
|
||||||
tasks:
|
tasks:
|
||||||
@@ -12,6 +13,7 @@
|
|||||||
copy_hieradata: False
|
copy_hieradata: False
|
||||||
copy_puppet: False
|
copy_puppet: False
|
||||||
- hosts: "git0*:!disabled"
|
- hosts: "git0*:!disabled"
|
||||||
|
strategy: free
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
max_fail_percentage: 1
|
max_fail_percentage: 1
|
||||||
roles:
|
roles:
|
||||||
@@ -19,6 +21,7 @@
|
|||||||
facts:
|
facts:
|
||||||
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
||||||
- hosts: "review.openstack.org:!disabled"
|
- hosts: "review.openstack.org:!disabled"
|
||||||
|
strategy: free
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
roles:
|
roles:
|
||||||
- role: puppet
|
- role: puppet
|
||||||
|
Reference in New Issue
Block a user