Merge "Podman support in haproxy-public-tls-inject"
This commit is contained in:
commit
85f5ec6609
@ -104,10 +104,10 @@ outputs:
|
|||||||
|
|
||||||
- name: get container_id
|
- name: get container_id
|
||||||
when:
|
when:
|
||||||
- docker_state.status.ActiveState == 'active'
|
- docker_state.status.ActiveState == 'active' or container_cli == 'podman
|
||||||
- attr_cert_path.stat.exists
|
- attr_cert_path.stat.exists
|
||||||
- attr_cert_path.stat.isdir == False
|
- attr_cert_path.stat.isdir == False
|
||||||
command: docker ps -q -f name=haproxy
|
command: "{{ container_cli }} ps -q -f name=haproxy"
|
||||||
register: container_id
|
register: container_id
|
||||||
|
|
||||||
- name: get pcs resource name for haproxy container
|
- name: get pcs resource name for haproxy container
|
||||||
@ -210,5 +210,5 @@ outputs:
|
|||||||
when: kolla_cert_exists.stat.exists
|
when: kolla_cert_exists.stat.exists
|
||||||
|
|
||||||
- name: send restart order to haproxy container
|
- name: send restart order to haproxy container
|
||||||
command: docker kill --signal=HUP {{container_id.stdout}}
|
command: "{{ container_cli }} kill --signal=HUP {{container_id.stdout}}"
|
||||||
when: kolla_cert_exists.stat.exists
|
when: kolla_cert_exists.stat.exists
|
||||||
|
Loading…
x
Reference in New Issue
Block a user