From: Zack Cerza Date: Mon, 1 Aug 2016 22:47:21 +0000 (-0600) Subject: Use strategy: free on some playbooks X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F273%2Fhead;p=ceph-cm-ansible.git Use strategy: free on some playbooks See http://docs.ansible.com/ansible/playbooks_strategies.html#strategies This could potentially improve performance. Signed-off-by: Zack Cerza --- diff --git a/ansible_managed.yml b/ansible_managed.yml index 8a94bd4b..f42a8f24 100644 --- a/ansible_managed.yml +++ b/ansible_managed.yml @@ -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: diff --git a/pcp.yml b/pcp.yml index 6498faf7..91058afd 100644 --- a/pcp.yml +++ b/pcp.yml @@ -1,5 +1,6 @@ --- - hosts: pcp + strategy: free roles: - pcp become: true diff --git a/testnodes.yml b/testnodes.yml index 4d00508f..21ba3446 100644 --- a/testnodes.yml +++ b/testnodes.yml @@ -1,5 +1,6 @@ --- - hosts: testnodes + strategy: free roles: - common - testnode diff --git a/teuthology.yml b/teuthology.yml index 8efde492..92ee555d 100644 --- a/teuthology.yml +++ b/teuthology.yml @@ -1,5 +1,6 @@ --- - hosts: teuthology + strategy: free roles: - common - teuthology