Merge "Updated from OpenStack Ansible Tests"

This commit is contained in:
Zuul 2020-10-06 14:44:30 +00:00 committed by Gerrit Code Review
commit 7e1867dfe0
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
- common-mariadb - common-mariadb
block: block:
- name: Create database for service - name: Create database for service
mysql_db: community.mysql.mysql_db:
name: "{{ item.name }}" name: "{{ item.name }}"
login_host: "{{ _oslodb_setup_endpoint | default(omit) }}" login_host: "{{ _oslodb_setup_endpoint | default(omit) }}"
login_port: "{{ _oslodb_setup_port | default(omit) }}" login_port: "{{ _oslodb_setup_port | default(omit) }}"
@ -36,7 +36,7 @@
no_log: true no_log: true
- name: Grant access to the database for the service - name: Grant access to the database for the service
mysql_user: community.mysql.mysql_user:
name: "{{ item.1.username }}" name: "{{ item.1.username }}"
password: "{{ item.1.password }}" password: "{{ item.1.password }}"
host: "{{ item.1.host | default('%') }}" host: "{{ item.1.host | default('%') }}"