aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2015-11-06 01:12:57 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-06 01:12:57 +0000
commit9359903f4dfd2ace530596d72ba26e3c1266f66f (patch)
tree147bbc5c4e906a504e8101585c6e47cab84ca9e9 /deploy/adapters/ansible
parentce4cf93c1f0e3ee58cb8a99000c28b64521d4de0 (diff)
parent671d2b541f54dc7f498e3ebd3caa128c234009ea (diff)
Merge "deploy ceph on compute nodes"
Diffstat (limited to 'deploy/adapters/ansible')
-rw-r--r--deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_Debian.yml8
-rw-r--r--deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml8
2 files changed, 8 insertions, 8 deletions
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 06c28f24..27543602 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
@@ -22,21 +22,21 @@
- name: copy create_osd.sh to other nodes
shell: scp -o StrictHostKeyChecking=no ~/create_osd.sh {{ item }}:~/
with_items:
- - "{{ groups['controller'] }}"
+ - "{{ groups['compute'] }}"
tags:
- create_osd
- name: create osd
shell: ssh -o StrictHostKeyChecking=no -t {{ item }} "~/create_osd.sh"
with_items:
- - "{{ groups['controller'] }}"
+ - "{{ groups['compute'] }}"
tags:
- create_osd
- name: prepare create osd
shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy osd prepare {{ item }}:/var/local/osd
with_items:
- - "{{ groups['controller'] }}"
+ - "{{ groups['compute'] }}"
tags:
- create_osd
@@ -44,7 +44,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['controller'] }}"
+ - "{{ groups['compute'] }}"
tags:
- create_osd
- activate_osd
diff --git a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml
index 6ce01b86..04ab1b5b 100644
--- a/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml
+++ b/deploy/adapters/ansible/roles/ceph-deploy/tasks/ceph_install_RedHat.yml
@@ -22,21 +22,21 @@
- name: copy create_osd.sh to other nodes
shell: scp -o StrictHostKeyChecking=no ~/create_osd.sh {{ item }}:~/
with_items:
- - "{{ groups['controller'] }}"
+ - "{{ groups['compute'] }}"
tags:
- create_osd
- name: create osd
shell: ssh -o StrictHostKeyChecking=no -t {{ item }} "~/create_osd.sh"
with_items:
- - "{{ groups['controller'] }}"
+ - "{{ groups['compute'] }}"
tags:
- create_osd
- name: prepare create osd
shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy --repo-url http://10.1.0.12/cblr/repo_mirror/centos7-juno-ppa --gpg-url http://10.1.0.12/cblr/repo_mirror/centos7-juno-ppa/ceph_key_release.asc osd prepare {{ item }}:/var/local/osd
with_items:
- - "{{ groups['controller'] }}"
+ - "{{ groups['compute'] }}"
tags:
- create_osd
@@ -44,7 +44,7 @@
- name: activate osd
shell: cd {{ ceph_cluster_dir[0] }} && ceph-deploy --repo-url http://10.1.0.12/cblr/repo_mirror/centos7-juno-ppa --gpg-url http://10.1.0.12/cblr/repo_mirror/centos7-juno-ppa/ceph_key_release.asc osd activate {{ item }}:/var/local/osd
with_items:
- - "{{ groups['controller'] }}"
+ - "{{ groups['compute'] }}"
tags:
- create_osd
- activate_osd