Use new openstack collection syntax
Ansible collection for openstack has changed naming convention and has deprecarted old naming. Due to this appear lot's of deprecation warnings like [1] We should use new syntax to avoid such warnings. [1] http://paste.openstack.org/show/799121/ Change-Id: Ib6ba1b7f8b5c75507de430cb502a126d55429b3a
This commit is contained in:
parent
fa54365261
commit
1dac369ea8
@ -32,7 +32,7 @@
|
|||||||
ansible_python_interpreter: "{{ _service_setup_host_python_interpreter }}"
|
ansible_python_interpreter: "{{ _service_setup_host_python_interpreter }}"
|
||||||
block:
|
block:
|
||||||
- name: Add keystone domain
|
- name: Add keystone domain
|
||||||
openstack.cloud.os_keystone_domain:
|
openstack.cloud.identity_domain:
|
||||||
cloud: default
|
cloud: default
|
||||||
state: present
|
state: present
|
||||||
description: "{{ _domain_name_description | default(omit) }}"
|
description: "{{ _domain_name_description | default(omit) }}"
|
||||||
@ -46,7 +46,7 @@
|
|||||||
delay: 10
|
delay: 10
|
||||||
|
|
||||||
- name: Add service project
|
- name: Add service project
|
||||||
openstack.cloud.os_project:
|
openstack.cloud.project:
|
||||||
cloud: default
|
cloud: default
|
||||||
state: present
|
state: present
|
||||||
name: "{{ _project_name }}"
|
name: "{{ _project_name }}"
|
||||||
@ -63,7 +63,7 @@
|
|||||||
delay: 10
|
delay: 10
|
||||||
|
|
||||||
- name: Add services to the keystone service catalog
|
- name: Add services to the keystone service catalog
|
||||||
openstack.cloud.os_keystone_service:
|
openstack.cloud.catalog_service:
|
||||||
cloud: default
|
cloud: default
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
@ -79,7 +79,7 @@
|
|||||||
delay: 10
|
delay: 10
|
||||||
|
|
||||||
- name: Add keystone roles
|
- name: Add keystone roles
|
||||||
openstack.cloud.os_keystone_role:
|
openstack.cloud.identity_role:
|
||||||
cloud: default
|
cloud: default
|
||||||
state: present
|
state: present
|
||||||
name: "{{ item.role }}"
|
name: "{{ item.role }}"
|
||||||
@ -98,7 +98,7 @@
|
|||||||
no_log: True
|
no_log: True
|
||||||
|
|
||||||
- name: Add service users
|
- name: Add service users
|
||||||
openstack.cloud.os_user:
|
openstack.cloud.identity_user:
|
||||||
cloud: default
|
cloud: default
|
||||||
state: present
|
state: present
|
||||||
name: "{{ item.name }}"
|
name: "{{ item.name }}"
|
||||||
@ -122,7 +122,7 @@
|
|||||||
no_log: True
|
no_log: True
|
||||||
|
|
||||||
- name: Add service users to the role
|
- name: Add service users to the role
|
||||||
openstack.cloud.os_user_role:
|
openstack.cloud.role_assignment:
|
||||||
cloud: default
|
cloud: default
|
||||||
state: present
|
state: present
|
||||||
user: "{{ item.name }}"
|
user: "{{ item.name }}"
|
||||||
@ -145,7 +145,7 @@
|
|||||||
no_log: True
|
no_log: True
|
||||||
|
|
||||||
- name: Add endpoints to keystone endpoint catalog
|
- name: Add endpoints to keystone endpoint catalog
|
||||||
openstack.cloud.os_keystone_endpoint:
|
openstack.cloud.endpoint:
|
||||||
cloud: default
|
cloud: default
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
service: "{{ item.service }}"
|
service: "{{ item.service }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user