summaryrefslogtreecommitdiffstats
path: root/plugins/odl_cluster/roles/setup-odl/tasks/control-db-1.yml
blob: 3cef9792791f4dbe23777fc7ea8d793f1c3f09a6 (plain)
1
2
3
4
5
6
7
8
---

- name: drop and recreate neutron database
  shell: |
    mysql -e "drop database if exists neutron;";
    mysql -e "create database neutron character set utf8;";
    mysql -e "grant all on neutron.* to 'neutron'@'%' identified by \
        '{{ neutron_container_mysql_password }}';";