Skip to content

Commit

Permalink
Use strategy: free on some playbooks
Browse files Browse the repository at this point in the history
See http://docs.ansible.com/ansible/playbooks_strategies.html#strategies

This could potentially improve performance.

Signed-off-by: Zack Cerza <zack@redhat.com>
  • Loading branch information
zmc committed Aug 1, 2016
1 parent ff034ad commit 25fe007
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible_managed.yml
Expand Up @@ -2,6 +2,7 @@
# a playbook to create the necessary users, groups and
# sudoer settings needed for ansible to manage a node.
- hosts: all
strategy: free
# assuming the nodes we run this on will most likely
# have an ubuntu user already created.
vars:
Expand Down
1 change: 1 addition & 0 deletions pcp.yml
@@ -1,5 +1,6 @@
---
- hosts: pcp
strategy: free
roles:
- pcp
become: true
1 change: 1 addition & 0 deletions testnodes.yml
@@ -1,5 +1,6 @@
---
- hosts: testnodes
strategy: free
roles:
- common
- testnode
Expand Down
1 change: 1 addition & 0 deletions teuthology.yml
@@ -1,5 +1,6 @@
---
- hosts: teuthology
strategy: free
roles:
- common
- teuthology
Expand Down

0 comments on commit 25fe007

Please sign in to comment.