diff options
Diffstat (limited to 'ansible/roles/etcd/tasks/bootstrap.yml')
| -rw-r--r-- | ansible/roles/etcd/tasks/bootstrap.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ansible/roles/etcd/tasks/bootstrap.yml b/ansible/roles/etcd/tasks/bootstrap.yml new file mode 100644 index 000000000..bea1cb7ec --- /dev/null +++ b/ansible/roles/etcd/tasks/bootstrap.yml @@ -0,0 +1,18 @@ +--- +- name: Running etcd bootstrap container + kolla_docker: + action: "start_container" + common_options: "{{ docker_common_options }}" + detach: False + environment: + KOLLA_BOOTSTRAP: + KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}" + image: "{{ etcd_image_full }}" + labels: + BOOTSTRAP: + name: "bootstrap_etcd" + restart_policy: "never" + volumes: + - "{{ node_config_directory }}/etcd/:{{ container_config_directory }}/:ro" + - "kolla_etcd:/var/lib/etcd/" + - "kolla_logs:/var/log/kolla/" |
