Updated from OpenStack Ansible Tests

Change-Id: I82f7534ed79b60fe42f7479690f5dcc680a60267
This commit is contained in:
OpenStack Proposal Bot 2020-10-01 14:31:51 +00:00
parent c403580f97
commit 00ad20422e

View File

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