summaryrefslogtreecommitdiff
path: root/playbooks/nova-multi-cell/pre.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/nova-multi-cell/pre.yaml')
-rw-r--r--playbooks/nova-multi-cell/pre.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/playbooks/nova-multi-cell/pre.yaml b/playbooks/nova-multi-cell/pre.yaml
new file mode 100644
index 0000000000..329f51b1f9
--- /dev/null
+++ b/playbooks/nova-multi-cell/pre.yaml
@@ -0,0 +1,7 @@
+- hosts: controller
+ roles:
+ # /etc/nova/policy.yaml is going to be owned by the stack user so we need
+ # to make sure that user exists on the controller host first.
+ - setup-stack-user
+ # Write rules to the /etc/nova/policy.yaml file.
+ - setup-multi-cell-policy