From 2f0dbdd9c8bb49b66054f08cce93e8ab4825f873 Mon Sep 17 00:00:00 2001 From: grakiss Date: Fri, 27 Nov 2015 10:54:43 +0800 Subject: split ceph into small size roles with specific purpose JIRA: COMPASS-152 - add ceph_adm ceph_mon ceph_osd Signed-off-by: grakiss --- .../ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml') diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml index 744120b8..7c9545ef 100644 --- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml +++ b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml @@ -1,6 +1,6 @@ --- - name: create ceph cluster - shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy new {{ controller_nodes.stdout_lines[0] }} + shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy new {{ mon_nodes.stdout_lines[0] }} tags: - create_ceph_cluster @@ -25,21 +25,21 @@ - name: copy create_osd.sh to other nodes shell: scp -o StrictHostKeyChecking=no ~/create_osd.sh {{ item }}:~/ with_items: - - "{{ groups['compute'] }}" + - "{{ groups['ceph_osd'] }}" tags: - create_osd - name: create osd shell: ssh -o StrictHostKeyChecking=no -t {{ item }} "~/create_osd.sh" with_items: - - "{{ groups['compute'] }}" + - "{{ groups['ceph_osd'] }}" tags: - create_osd - name: prepare create osd shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy osd prepare {{ item }}:/var/local/osd with_items: - - "{{ groups['compute'] }}" + - "{{ groups['ceph_osd'] }}" tags: - create_osd @@ -47,7 +47,7 @@ - name: activate osd shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy osd activate {{ item }}:/var/local/osd && ceph-deploy osd activate {{ item }}:/var/local/osd with_items: - - "{{ groups['compute'] }}" + - "{{ groups['ceph_osd'] }}" tags: - create_osd - activate_osd -- cgit 1.2.3-korg