kolla/ansible/roles/ironic/tasks/bootstrap_service.yml
MD NADEEM 1a50a8162c Playbook for Ironic upgrade
Change-Id: Ib2917567934c4bc37c79883f114ca56055394314
Partially-Implements: blueprint upgrade-kolla
2016-03-04 12:26:56 +05:30

17 lines
533 B
YAML

- name: Running Ironic bootstrap container
kolla_docker:
action: "start_container"
common_options: "{{ docker_common_options }}"
detach: False
environment:
KOLLA_BOOTSTRAP:
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
image: "{{ ironic_api_image_full }}"
labels:
BOOTSTRAP:
name: "bootstrap_ironic"
restart_policy: "never"
volumes: "{{ node_config_directory }}/ironic-api/:{{ container_config_directory }}/:ro"
run_once: True
delegate_to: "{{ groups['ironic-api'][0] }}"