From 13d7c81983d234d6a9f8d1e08f270749ac9c5202 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Fri, 9 Mar 2018 17:12:38 +0000 Subject: [PATCH] Enforce linear strategy for orchestrate-devstack Document that orchestrate-devstack requires a linear strategy in the invoking play. Also enforce the strategy in devstack.yaml. Change-Id: Ia081225ec2be959fc5a4ddfd491f526296a8ca10 --- playbooks/devstack.yaml | 4 ++++ roles/orchestrate-devstack/README.rst | 1 + 2 files changed, 5 insertions(+) diff --git a/playbooks/devstack.yaml b/playbooks/devstack.yaml index 93d19f1c7a..d0906380ab 100644 --- a/playbooks/devstack.yaml +++ b/playbooks/devstack.yaml @@ -1,3 +1,7 @@ - hosts: all + # This is the default strategy, however since orchestrate-devstack requires + # "linear", it is safer to enforce it in case this is running in an + # environment configured with a different default strategy. + strategy: linear roles: - orchestrate-devstack diff --git a/roles/orchestrate-devstack/README.rst b/roles/orchestrate-devstack/README.rst index 7803ee4d74..097dcea55e 100644 --- a/roles/orchestrate-devstack/README.rst +++ b/roles/orchestrate-devstack/README.rst @@ -15,6 +15,7 @@ data to sub-nodes and run devstack there. The only requirement for this role is for the controller inventory_hostname to be "controller" and for all sub-nodes to be defined in a group called "subnode". +This role needs to be invoked from a playbook that uses a "linear" strategy. **Role Variables**