Run openstack_openrc before Magnum installation

The Magnum role attempts to upload images for the operation of
Magnum, however, the role for openrc is installed after magnum
which means the role cannot use the 'default' cloud profile
to upload images.

This patch adjusts the order so that the os_magnum role is able
to upload images.

Change-Id: I10846e5844c2f02c1a5450eaa950b3704672c324
This commit is contained in:
Mohammed Naser 2018-02-11 16:12:37 -05:00
parent 0863eb7b21
commit 1fd26bc0e8

View File

@ -50,10 +50,10 @@
db_name: "{{ magnum_galera_database_name }}"
when: inventory_hostname == groups['magnum_all'][0]
roles:
- role: "os_magnum"
- role: "openstack_openrc"
tags:
- openrc
- role: "os_magnum"
- role: "rsyslog_client"
rsyslog_client_log_rotate_file: magnum_log_rotate
rsyslog_client_log_dir: "/var/log/magnum"