kolla-ansible/ansible/roles/skyline/tasks/bootstrap_service.yml
yangshaoxue 113b77c8cb Add skyline service
Support to deploy skyline by kolla-ansible.

Implements: blueprint skyline
Depends-On: https://review.opendev.org/c/openstack/kolla/+/826948

Change-Id: Ice5621491a432ba32138abd6f62d1f815cc219e0
2023-01-31 13:47:18 +08:00

21 lines
625 B
YAML

---
- name: Running Skyline bootstrap container
vars:
skyline_apiserver: "{{ skyline_services['skyline-apiserver'] }}"
become: true
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
image: "{{ skyline_apiserver.image }}"
labels:
BOOTSTRAP:
name: "bootstrap_skyline"
restart_policy: no
volumes: "{{ skyline_apiserver.volumes | reject('equalto', '') | list }}"
run_once: True
delegate_to: "{{ groups[skyline_apiserver.group][0] }}"