summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/ceph-deploy/tasks/main.yml
blob: 8b90a1b63e4c5ab5ed6983353e7349aedf8cc342 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
##############################################################################
# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
- include: ceph_setup_env.yml
  tags:
    - ceph_deploy
    - ceph_setup_env
    - ceph_install

- include: ceph_install_Debian.yml
  when: ansible_os_family == "Debian"
  tags:
    - ceph_deploy
    - ceph_install

- include: ceph_install_RedHat.yml
  when: ansible_os_family == "RedHat"
  tags:
    - ceph_deploy
    - ceph_install

- include: ceph_openstack_pre.yml
  tags:
    - ceph_deploy
    - ceph_openstack_pre
    - ceph_openstack

- include: ceph_openstack_conf.yml
  tags:
    - ceph_deploy
    - ceph_openstack_conf
    - ceph_openstack

- meta: flush_handlers