Updated from OpenStack Ansible Tests

Change-Id: Iff8acef9481ac4d6508e7e5b8bf817a5c9bc367d
This commit is contained in:
OpenStack Proposal Bot 2020-08-12 11:33:45 +00:00
parent 51fc04490b
commit 3ab102c500
3 changed files with 12 additions and 10 deletions

View File

@ -47,3 +47,4 @@ git [platform:gentoo]
# For SELinux # For SELinux
libselinux-python3 [platform:redhat] libselinux-python3 [platform:redhat]
libsemanage-python3 [platform:redhat] libsemanage-python3 [platform:redhat]
iptables [platform:redhat]

View File

@ -9,8 +9,8 @@
# openstack-ansible-tests repository. Once it merges there, the changes will # openstack-ansible-tests repository. Once it merges there, the changes will
# automatically be proposed to all the repositories which use it. # automatically be proposed to all the repositories which use it.
sphinx>=2.0.0,!=2.1.0 # BSD sphinx>=2.0.0,!=2.1.0 # BSD
sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD
openstackdocstheme>=2.0.0 # Apache-2.0 openstackdocstheme>=2.2.1 # Apache-2.0
reno>=2.5.0 # Apache-2.0 reno>=3.1.0 # Apache-2.0
doc8>=0.6.0 # Apache-2.0 doc8>=0.6.0 # Apache-2.0

View File

@ -32,9 +32,10 @@
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
os_keystone_domain: openstack.cloud.os_keystone_domain:
cloud: default cloud: default
state: present state: present
description: "{{ _domain_name_description | default(omit) }}"
name: "{{ _domain_name }}" name: "{{ _domain_name }}"
endpoint_type: admin endpoint_type: admin
verify: "{{ not _service_adminuri_insecure }}" verify: "{{ not _service_adminuri_insecure }}"
@ -45,7 +46,7 @@
delay: 10 delay: 10
- name: Add service project - name: Add service project
os_project: openstack.cloud.os_project:
cloud: default cloud: default
state: present state: present
name: "{{ _project_name }}" name: "{{ _project_name }}"
@ -62,7 +63,7 @@
delay: 10 delay: 10
- name: Add services to the keystone service catalog - name: Add services to the keystone service catalog
os_keystone_service: openstack.cloud.os_keystone_service:
cloud: default cloud: default
state: "{{ item.state | default('present') }}" state: "{{ item.state | default('present') }}"
name: "{{ item.name }}" name: "{{ item.name }}"
@ -78,7 +79,7 @@
delay: 10 delay: 10
- name: Add keystone roles - name: Add keystone roles
os_keystone_role: openstack.cloud.os_keystone_role:
cloud: default cloud: default
state: present state: present
name: "{{ item.role }}" name: "{{ item.role }}"
@ -97,7 +98,7 @@
no_log: True no_log: True
- name: Add service users - name: Add service users
os_user: openstack.cloud.os_user:
cloud: default cloud: default
state: present state: present
name: "{{ item.name }}" name: "{{ item.name }}"
@ -121,7 +122,7 @@
no_log: True no_log: True
- name: Add service users to the role - name: Add service users to the role
os_user_role: openstack.cloud.os_user_role:
cloud: default cloud: default
state: present state: present
user: "{{ item.name }}" user: "{{ item.name }}"
@ -144,7 +145,7 @@
no_log: True no_log: True
- name: Add endpoints to keystone endpoint catalog - name: Add endpoints to keystone endpoint catalog
os_keystone_endpoint: openstack.cloud.os_keystone_endpoint:
cloud: default cloud: default
state: "{{ item.state | default('present') }}" state: "{{ item.state | default('present') }}"
service: "{{ item.service }}" service: "{{ item.service }}"