aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/ceph/tasks/generate_cluster.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/ceph/tasks/generate_cluster.yml')
-rw-r--r--ansible/roles/ceph/tasks/generate_cluster.yml28
1 files changed, 0 insertions, 28 deletions
diff --git a/ansible/roles/ceph/tasks/generate_cluster.yml b/ansible/roles/ceph/tasks/generate_cluster.yml
deleted file mode 100644
index beb78e587..000000000
--- a/ansible/roles/ceph/tasks/generate_cluster.yml
+++ /dev/null
@@ -1,28 +0,0 @@
----
-- name: Generating initial Ceph keyrings and monmap
- kolla_docker:
- action: "start_container"
- common_options: "{{ docker_common_options }}"
- detach: False
- environment:
- KOLLA_BOOTSTRAP:
- KOLLA_CONFIG_STRATEGY: "{{ config_strategy }}"
- MON_IP: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"
- HOSTNAME: "{{ hostvars[inventory_hostname]['ansible_' + storage_interface]['ipv4']['address'] }}"
- image: "{{ ceph_mon_image_full }}"
- labels:
- BOOTSTRAP:
- name: "bootstrap_ceph_mon"
- restart_policy: "never"
- 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/"
-
-- include: start_mons.yml
-
-- name: Setting host for cluster files
- set_fact:
- delegate_host: "{{ inventory_hostname }}"