summaryrefslogtreecommitdiffstats
path: root/lib/ansible/playbooks
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2018-06-19 14:47:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-06-19 14:47:26 +0000
commit3db4362870c073717d8d9ac90c31be583cf9b379 (patch)
treee2f52dafb8a413dbdec05b5b5a5784a90f5452a4 /lib/ansible/playbooks
parent8dc27bd1443a52c177e6dedf550fd7d24a81e84e (diff)
parent6b304d2e2d9addcf33ad7e7ce5481d37a6b8ee4e (diff)
Merge "Fixes Ceph PG calculation"
Diffstat (limited to 'lib/ansible/playbooks')
-rw-r--r--lib/ansible/playbooks/deploy_overcloud.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/ansible/playbooks/deploy_overcloud.yml b/lib/ansible/playbooks/deploy_overcloud.yml
index d65fc271..a9c3b982 100644
--- a/lib/ansible/playbooks/deploy_overcloud.yml
+++ b/lib/ansible/playbooks/deploy_overcloud.yml
@@ -57,6 +57,14 @@
owner: root
group: root
become: yes
+ - name: Insert Ceph OSDs into Controller role
+ lineinfile:
+ path: /usr/share/openstack-tripleo-heat-templates/roles_data.yaml
+ insertbefore: '^\s*-\sOS::TripleO::Services::CephRbdMirror$'
+ line: ' - OS::TripleO::Services::CephOSD'
+ owner: root
+ group: root
+ become: yes
- name: Upload glance images
shell: "{{ stackrc }} && openstack overcloud image upload"
become: yes