Have discovered that maybe there's a problem with our restart handler in ansible:
I have been using , to restart the container:
handlers:
- name: restart keystone
docker_container:
name: keystone
image: 172.31.0.1:8787/cbis/centos-binary-keystone:stein-latest
command: "kolla_start"
state: started
restart: yes
When I dont use the ansible module above, but instead use shell (below) for the same task, the config.json remains intact on the container and the container starts.
Have discovered that maybe there's a problem with our restart handler in ansible:
I have been using , to restart the container: container: 0.1:8787/ cbis/centos- binary- keystone: stein-latest
handlers:
- name: restart keystone
docker_
name: keystone
image: 172.31.
command: "kolla_start"
state: started
restart: yes
When I dont use the ansible module above, but instead use shell (below) for the same task, the config.json remains intact on the container and the container starts.
handlers:
- name: restart keystone
shell: "docker restart keystone"