diff --git a/ansible/library/kolla_toolbox.py b/ansible/library/kolla_toolbox.py index 569b0605228efd1fe2fff7d2f263037b36a50651..d0493a24f4cf36157595ee1bf3392b93b1b7773e 100644 --- a/ansible/library/kolla_toolbox.py +++ b/ansible/library/kolla_toolbox.py @@ -89,7 +89,7 @@ EXAMPLES = ''' - name: Creating default user role kolla_toolbox: container_engine: docker - module_name: os_keystone_role + module_name: openstack.cloud.identity_role module_args: name: member auth: "{{ '{{ openstack_keystone_auth }}' }}" diff --git a/ansible/roles/ceilometer/tasks/register.yml b/ansible/roles/ceilometer/tasks/register.yml index f44a6c6fd46bc3185e7b22b9b6b6c3884e99c10d..d4f0961b83a1f169bcc6ce568f66040bd42b2a79 100644 --- a/ansible/roles/ceilometer/tasks/register.yml +++ b/ansible/roles/ceilometer/tasks/register.yml @@ -9,7 +9,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_user_role" + module_name: openstack.cloud.role_assignment module_args: project: "service" user: "{{ ceilometer_keystone_user }}" diff --git a/ansible/roles/keystone/tasks/register.yml b/ansible/roles/keystone/tasks/register.yml index d3b15fe6fd85e98e7bb301ed0fcb610747c67f43..733c3f903d702e697af3069f9921a810f4d4913a 100644 --- a/ansible/roles/keystone/tasks/register.yml +++ b/ansible/roles/keystone/tasks/register.yml @@ -22,7 +22,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_keystone_role" + module_name: openstack.cloud.identity_role module_args: name: "{{ keystone_default_user_role }}" auth: "{{ openstack_keystone_auth }}" diff --git a/ansible/roles/magnum/tasks/register.yml b/ansible/roles/magnum/tasks/register.yml index 1d024041a4339949affebcd0c345edafd0b6e657..a8b5165bed8fb26754fa6160b4b814d49aad2ed0 100644 --- a/ansible/roles/magnum/tasks/register.yml +++ b/ansible/roles/magnum/tasks/register.yml @@ -10,7 +10,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_keystone_domain" + module_name: "openstack.cloud.identity_domain" module_args: name: "{{ magnum_trustee_domain }}" description: "Owns users and projects created by magnum" @@ -25,7 +25,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_user" + module_name: "openstack.cloud.identity_user" module_args: name: "{{ magnum_trustee_domain_admin }}" domain: "{{ magnum_trustee_domain }}" @@ -41,7 +41,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_user_role" + module_name: "openstack.cloud.role_assignment" module_args: domain: "{{ trustee_domain.domain.id }}" user: "{{ magnum_trustee_domain_admin }}" diff --git a/ansible/roles/octavia/tasks/get_resources_info.yml b/ansible/roles/octavia/tasks/get_resources_info.yml index 1576ea8b8d5207da0916c21b233e6d5f0a78ec8a..ce6841d544833c179524e89a5c338904eb378af0 100644 --- a/ansible/roles/octavia/tasks/get_resources_info.yml +++ b/ansible/roles/octavia/tasks/get_resources_info.yml @@ -3,7 +3,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_flavor_info + module_name: openstack.cloud.compute_flavor_info module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" @@ -19,7 +19,7 @@ become: True kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_project_info + module_name: openstack.cloud.project_info module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" @@ -37,7 +37,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_security_group + module_name: openstack.cloud.security_group module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" @@ -57,7 +57,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_networks_info + module_name: openstack.cloud.networks_info module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" diff --git a/ansible/roles/octavia/tasks/hm-interface.yml b/ansible/roles/octavia/tasks/hm-interface.yml index 3af55b15ec64110edb2b8147bce18a71e7e59919..d1900cc2bbf83142cd1cfeae50da110e6c0d14f3 100644 --- a/ansible/roles/octavia/tasks/hm-interface.yml +++ b/ansible/roles/octavia/tasks/hm-interface.yml @@ -3,7 +3,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_port + module_name: openstack.cloud.port module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" diff --git a/ansible/roles/octavia/tasks/prepare.yml b/ansible/roles/octavia/tasks/prepare.yml index f45bd5c5d2b3b753db3b6e7ef07c2e38edd3075c..b75bcd548b5a1a48166cadd43b593af6a300a705 100644 --- a/ansible/roles/octavia/tasks/prepare.yml +++ b/ansible/roles/octavia/tasks/prepare.yml @@ -3,7 +3,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_nova_flavor + module_name: openstack.cloud.compute_flavor module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" @@ -27,7 +27,7 @@ become: True kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_keypair + module_name: openstack.cloud.keypair module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" @@ -43,7 +43,7 @@ become: True kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_project_info + module_name: openstack.cloud.project_info module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" @@ -58,7 +58,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_security_group + module_name: openstack.cloud.security_group module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" @@ -78,7 +78,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_security_group_rule + module_name: openstack.cloud.security_group_rule module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" @@ -100,7 +100,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_network + module_name: openstack.cloud.network module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" @@ -122,7 +122,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: os_subnet + module_name: openstack.cloud.subnet module_args: auth: "{{ octavia_user_auth }}" cacert: "{{ openstack_cacert }}" diff --git a/ansible/roles/octavia/tasks/register.yml b/ansible/roles/octavia/tasks/register.yml index 454abcc037754536833abec1eb9149e1187d4ae8..7bf995e765d5f2d8f756d818e4d1f44e37c1bd9c 100644 --- a/ansible/roles/octavia/tasks/register.yml +++ b/ansible/roles/octavia/tasks/register.yml @@ -10,7 +10,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_keystone_role" + module_name: openstack.cloud.identity_role module_args: name: "{{ item }}" auth: "{{ openstack_octavia_auth }}" diff --git a/ansible/roles/service-ks-register/tasks/main.yml b/ansible/roles/service-ks-register/tasks/main.yml index 813ea26ff18325748d9963fdb2a360b5c532faf9..5620d6598e78a57b840c2a4966c7a8ea3ac3e525 100644 --- a/ansible/roles/service-ks-register/tasks/main.yml +++ b/ansible/roles/service-ks-register/tasks/main.yml @@ -3,7 +3,7 @@ - name: "{{ project_name }} | Creating services" kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_keystone_service" + module_name: openstack.cloud.catalog_service module_args: name: "{{ item.name }}" service_type: "{{ item.type }}" @@ -24,7 +24,7 @@ - name: "{{ project_name }} | Creating endpoints" kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_keystone_endpoint" + module_name: openstack.cloud.endpoint module_args: service: "{{ item.0.name }}" url: "{{ item.1.url }}" @@ -48,7 +48,7 @@ - name: "{{ project_name }} | Creating projects" kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_project" + module_name: openstack.cloud.project module_args: name: "{{ item }}" domain: "{{ service_ks_register_domain }}" @@ -65,7 +65,7 @@ - name: "{{ project_name }} | Creating users" kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_user" + module_name: openstack.cloud.identity_user module_args: default_project: "{{ item.project }}" name: "{{ item.user }}" @@ -87,7 +87,7 @@ - name: "{{ project_name }} | Creating roles" kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_keystone_role" + module_name: openstack.cloud.identity_role module_args: name: "{{ item }}" region_name: "{{ service_ks_register_region_name }}" @@ -103,7 +103,7 @@ - name: "{{ project_name }} | Granting user roles" kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_user_role" + module_name: openstack.cloud.role_assignment module_args: user: "{{ item.user }}" role: "{{ item.role }}" diff --git a/ansible/roles/swift/tasks/register.yml b/ansible/roles/swift/tasks/register.yml index c6dcb02040fef2ea86f0d72f503bee52dfb8f516..42d0f97c7941f34924ccc474079305420408089b 100644 --- a/ansible/roles/swift/tasks/register.yml +++ b/ansible/roles/swift/tasks/register.yml @@ -10,7 +10,7 @@ become: true kolla_toolbox: container_engine: "{{ kolla_container_engine }}" - module_name: "os_keystone_role" + module_name: openstack.cloud.identity_role module_args: name: "ResellerAdmin" region_name: "{{ openstack_region_name }}"