summaryrefslogtreecommitdiffstats
path: root/compass/deploy/ansible/roles/neutron-controller/tasks/neutron_config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'compass/deploy/ansible/roles/neutron-controller/tasks/neutron_config.yml')
-rw-r--r--compass/deploy/ansible/roles/neutron-controller/tasks/neutron_config.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/compass/deploy/ansible/roles/neutron-controller/tasks/neutron_config.yml b/compass/deploy/ansible/roles/neutron-controller/tasks/neutron_config.yml
new file mode 100644
index 0000000..77cc29a
--- /dev/null
+++ b/compass/deploy/ansible/roles/neutron-controller/tasks/neutron_config.yml
@@ -0,0 +1,10 @@
+---
+- name: neutron-db-manage upgrade to Juno
+ shell: neutron-db-manage --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
+ register: result
+ until: result.rc == 0
+ retries: 5
+ delay: 3
+ notify:
+ - restart neutron-server
+