Merge "Updated from OpenStack Ansible Tests"
This commit is contained in:
commit
7e1867dfe0
|
@ -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('%') }}"
|
||||||
|
|
Loading…
Reference in New Issue