Convert horizon to kolla_docker
Change-Id: Ic34e016c1a8dad2599d9afd69829de00ae232fb6 Partially-Implements: blueprint kolla-docker-module
This commit is contained in:
parent
665d0c9d30
commit
0ddc6df9bc
@ -1,19 +1,9 @@
|
||||
---
|
||||
- name: Starting horizon container
|
||||
docker:
|
||||
tty: True
|
||||
net: host
|
||||
pull: "{{ docker_pull_policy }}"
|
||||
restart_policy: "{{ docker_restart_policy }}"
|
||||
restart_policy_retry: "{{ docker_restart_policy_retry }}"
|
||||
state: reloaded
|
||||
registry: "{{ docker_registry }}"
|
||||
username: "{{ docker_registry_username }}"
|
||||
password: "{{ docker_registry_password }}"
|
||||
insecure_registry: "{{ docker_insecure_registry }}"
|
||||
name: horizon
|
||||
kolla_docker:
|
||||
action: "start_container"
|
||||
common_options: "{{ docker_common_options }}"
|
||||
image: "{{ horizon_image_full }}"
|
||||
name: "horizon"
|
||||
volumes: "{{ node_config_directory }}/horizon/:{{ container_config_directory }}/:ro"
|
||||
env:
|
||||
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
||||
when: inventory_hostname in groups['horizon']
|
||||
|
Loading…
Reference in New Issue
Block a user