Michal Nasiadka f257e79aff Allow setting container_proxy per service
Currently there is no option to set container_proxy only for one service
(e.g. magnum). This change adds this option.

Change-Id: Ia938ee660ebe8ce84321f721b6292b0b58a06e20
2020-09-22 10:54:40 +02:00

20 lines
642 B
YAML

---
- name: Starting bifrost deploy container
become: true
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
image: "{{ bifrost_deploy_image_full }}"
name: "bifrost_deploy"
privileged: True
environment: "{{ bifrost_deploy_container_proxy }}"
volumes:
- "{{ node_config_directory }}/bifrost/:/etc/bifrost:ro"
- "/etc/localtime:/etc/localtime:ro"
- "/dev:/dev"
- "kolla_logs:/var/log/kolla/"
- "bifrost_httpboot:/httpboot/"
- "bifrost_ironic:/var/lib/ironic/"
- "bifrost_mariadb:/var/lib/mysql/"
- "bifrost_tftpboot:/tftpboot/"