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:
Simon Piette 2018-05-04 14:33:45 -04:00
parent 998b9fbbec
commit fdb325aba6

View File

@ -33,6 +33,7 @@
name: "{{ item.value.container_name }}"
image: "{{ item.value.image }}"
volumes: "{{ item.value.volumes }}"
environment: "{{ item.value.environment }}"
register: check_etcd_containers
when:
- action != "config"