Fix create and associate error of resellerAdmin

Fix the following error:
openstack_swift_auth is undefined
unsupported parameter for module: project
unsupported parameter for module: role

Change-Id: Id60e3f06e90e708d9054b905bbfd28ff5450fa49
Closes-Bug: #1691388
This commit is contained in:
shaofeng_cheng 2017-05-17 17:00:53 +08:00
parent b595f236d0
commit 9e158b7887
2 changed files with 5 additions and 2 deletions

View File

@ -42,5 +42,7 @@
role: "ResellerAdmin"
region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_ceilometer_auth }}' }}"
module_extra_vars:
openstack_ceilometer_auth: "{{ openstack_ceilometer_auth }}"
when: enable_swift | bool
run_once: True

View File

@ -37,9 +37,10 @@
kolla_toolbox:
module_name: "os_keystone_role"
module_args:
project: "service"
role: "ResellerAdmin"
name: "ResellerAdmin"
region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_swift_auth }}' }}"
module_extra_vars:
openstack_swift_auth: "{{ openstack_swift_auth }}"
when: enable_ceilometer | bool
run_once: True