add the environment attribute to etcd deploy
In ansible/roles/etcd/tasks/config.yml, the kolla_docker compare_container action doesn't check environment. Once a container is created, it won't get recreated if only the environment change. This commit add the environment attribute to the kolla_docker action in etcd role Change-Id: I8fb71cc945867e06acc67f6d1256bf62f4276206 Closes-Bug: #1765517
This commit is contained in:
parent
998b9fbbec
commit
fdb325aba6
@ -33,6 +33,7 @@
|
|||||||
name: "{{ item.value.container_name }}"
|
name: "{{ item.value.container_name }}"
|
||||||
image: "{{ item.value.image }}"
|
image: "{{ item.value.image }}"
|
||||||
volumes: "{{ item.value.volumes }}"
|
volumes: "{{ item.value.volumes }}"
|
||||||
|
environment: "{{ item.value.environment }}"
|
||||||
register: check_etcd_containers
|
register: check_etcd_containers
|
||||||
when:
|
when:
|
||||||
- action != "config"
|
- action != "config"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user