Skip to content

Commit

Permalink
Move commons from deploying osd to deploy_osd YAML
Browse files Browse the repository at this point in the history
Change-Id: I1e2a4960b903efcd42b3e4076f2909791e0069a2
  • Loading branch information
9seconds committed Apr 5, 2017
1 parent 66a0b9c commit 7dfec9e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
22 changes: 22 additions & 0 deletions backend/common/decapod_common/playbooks/plays/deploy_osd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
# Copyright (c) 2017 Mirantis Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.

- include: "{{ decapod_common_playbooks }}/plays/add_ceph_ansible_role.yaml"

- hosts: osds
become: true
roles:
- ceph-osd
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,4 @@
# limitations under the License.


- include: "{{ decapod_common_playbooks }}/plays/add_ceph_ansible_role.yaml"

- hosts: osds
become: true
roles:
- ceph-osd
- include: "{{ decapod_common_playbooks }}/plays/deploy_osd.yaml"
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- include: "{{ decapod_common_playbooks }}/plays/init.yaml"

- include: "{{ decapod_common_playbooks }}/plays/deploy_mon.yaml"
- include: "{{ decapod_common_playbooks }}/plays/deploy_osd.yaml"
- include: "{{ decapod_common_playbooks }}/plays/deploy_rgw.yaml"
- include: "{{ decapod_common_playbooks }}/plays/deploy_restapi.yaml"

Expand All @@ -26,11 +27,6 @@
roles:
- ceph-agent

- hosts: osds
become: True
roles:
- ceph-osd

- hosts: mdss
become: True
roles:
Expand Down

0 comments on commit 7dfec9e

Please sign in to comment.