[wallaby-only][ffwd] Fix unused DB users cleanup
Removal of the unused users was triggered on all mysql nodes. We now stick only to the bootstrap node. Change-Id: I9520979f2cdfbfbcda3f392a9f1f748dca65034b
This commit is contained in:
parent
5ad62f371b
commit
eef23eb58b
|
@ -105,7 +105,9 @@ outputs:
|
|||
description: Ansible block to clean up unusued Openstack DB users
|
||||
value:
|
||||
- name: Drop unused OpenStack DB users
|
||||
when: step|int == 1
|
||||
when:
|
||||
- step|int == 1
|
||||
- mysql_short_bootstrap_node_name|lower == ansible_facts['hostname']|lower
|
||||
block:
|
||||
- name: mysql container id
|
||||
command: "podman ps -q --filter name={{ mysql_container_name }} --filter status=running"
|
||||
|
|
Loading…
Reference in New Issue