Merge "Allow normal user to create functions during databas sync in glance"
This commit is contained in:
commit
bdf50d5df5
@ -1,4 +1,19 @@
|
|||||||
---
|
---
|
||||||
|
- name: Enable log_bin_trust_function_creators function
|
||||||
|
vars:
|
||||||
|
glance_api: "{{ glance_services['glance-api'] }}"
|
||||||
|
kolla_toolbox:
|
||||||
|
module_name: mysql_variables
|
||||||
|
module_args:
|
||||||
|
login_host: "{{ database_address }}"
|
||||||
|
login_port: "{{ database_port }}"
|
||||||
|
login_user: "{{ database_user }}"
|
||||||
|
login_password: "{{ database_password }}"
|
||||||
|
variable: log_bin_trust_function_creators
|
||||||
|
value: 1
|
||||||
|
run_once: True
|
||||||
|
delegate_to: "{{ groups[glance_api.group][0] }}"
|
||||||
|
|
||||||
- name: Running Glance bootstrap container
|
- name: Running Glance bootstrap container
|
||||||
vars:
|
vars:
|
||||||
glance_api: "{{ glance_services['glance-api'] }}"
|
glance_api: "{{ glance_services['glance-api'] }}"
|
||||||
@ -17,3 +32,18 @@
|
|||||||
volumes: "{{ glance_api.volumes }}"
|
volumes: "{{ glance_api.volumes }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
delegate_to: "{{ groups[glance_api.group][0] }}"
|
delegate_to: "{{ groups[glance_api.group][0] }}"
|
||||||
|
|
||||||
|
- name: Disable log_bin_trust_function_creators function
|
||||||
|
vars:
|
||||||
|
glance_api: "{{ glance_services['glance-api'] }}"
|
||||||
|
kolla_toolbox:
|
||||||
|
module_name: mysql_variables
|
||||||
|
module_args:
|
||||||
|
login_host: "{{ database_address }}"
|
||||||
|
login_port: "{{ database_port }}"
|
||||||
|
login_user: "{{ database_user }}"
|
||||||
|
login_password: "{{ database_password }}"
|
||||||
|
variable: log_bin_trust_function_creators
|
||||||
|
value: 0
|
||||||
|
run_once: True
|
||||||
|
delegate_to: "{{ groups[glance_api.group][0] }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user