Exclude neutron haproxy containers when updating TLS certificates
The current implementation using: command: "podman ps -q -f name=haproxy" would return any container containing haproxy in the name, this includes neutron-spawned containers named neutron-haproxy-qdhcp-XXX that we probably want to exclude from this logic. Change-Id: Ia956add9633fa558f514edd75d235c2cad1912d1 (cherry picked from commit e63d6336e585c8004edd91d4154b08f8ed7b5c37)
This commit is contained in:
parent
1e50df9419
commit
9adcac636e
@ -109,7 +109,7 @@ outputs:
|
||||
- docker_state.status.ActiveState == 'active' or container_cli == 'podman'
|
||||
- attr_cert_path.stat.exists
|
||||
- attr_cert_path.stat.isdir == False
|
||||
command: "{{ container_cli }} ps -q -f name=haproxy"
|
||||
command: "{{ container_cli }} ps -q -f name='^haproxy(-bundle)?'"
|
||||
register: container_id
|
||||
|
||||
- name: get pcs resource name for haproxy container
|
||||
|
Loading…
x
Reference in New Issue
Block a user