Code Review
/
apex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixes inserting ceph OSD into compute role
[apex.git]
/
lib
/
ansible
/
playbooks
/
deploy_overcloud.yml
diff --git
a/lib/ansible/playbooks/deploy_overcloud.yml
b/lib/ansible/playbooks/deploy_overcloud.yml
index
4d55c8f
..
b2d9234
100644
(file)
--- a/
lib/ansible/playbooks/deploy_overcloud.yml
+++ b/
lib/ansible/playbooks/deploy_overcloud.yml
@@
-35,10
+35,18
@@
state: restarted
enabled: yes
become: yes
state: restarted
enabled: yes
become: yes
+ - name: Remove Ceph OSD from ceph storage role
+ lineinfile:
+ path: /usr/share/openstack-tripleo-heat-templates/roles_data.yaml
+ line: ' - OS::TripleO::Services::CephOSD'
+ owner: root
+ group: root
+ state: absent
+ become: yes
- name: Insert Ceph OSDs into Compute role
lineinfile:
path: /usr/share/openstack-tripleo-heat-templates/roles_data.yaml
- name: Insert Ceph OSDs into Compute role
lineinfile:
path: /usr/share/openstack-tripleo-heat-templates/roles_data.yaml
- insertbefore:
'OS::TripleO::Services::NovaCompute
'
+ insertbefore:
'^\s*-\sOS::TripleO::Services::NovaCompute$
'
line: ' - OS::TripleO::Services::CephOSD'
owner: root
group: root
line: ' - OS::TripleO::Services::CephOSD'
owner: root
group: root