17 lines
617 B
YAML
17 lines
617 B
YAML
---
|
|
- name: Starting ceph-mon container
|
|
kolla_docker:
|
|
action: "start_container"
|
|
common_options: "{{ docker_common_options }}"
|
|
environment:
|
|
KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
|
|
HOSTNAME: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"
|
|
image: "{{ ceph_mon_image_full }}"
|
|
name: "ceph_mon"
|
|
volumes:
|
|
- "{{ node_config_directory }}/ceph-mon/:{{ container_config_directory }}/:ro"
|
|
- "/etc/localtime:/etc/localtime:ro"
|
|
- "ceph_mon:/var/lib/ceph"
|
|
- "ceph_mon_config:/etc/ceph"
|
|
- "kolla_logs:/var/log/kolla/"
|