From 1e93aed83c9f4ab11e733dd8d68f18350575e41b Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 12 Jul 2016 13:56:46 -0400 Subject: [PATCH] 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 --- playbooks/remote_puppet_git.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/remote_puppet_git.yaml b/playbooks/remote_puppet_git.yaml index f2a37c07c5..9879396af1 100644 --- a/playbooks/remote_puppet_git.yaml +++ b/playbooks/remote_puppet_git.yaml @@ -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