Fixes inserting ceph OSD into compute role 43/48043/2
authorTim Rozet <trozet@redhat.com>
Wed, 29 Nov 2017 22:12:27 +0000 (17:12 -0500)
committerTim Rozet <trozet@redhat.com>
Thu, 30 Nov 2017 18:37:35 +0000 (13:37 -0500)
commit7e37d85e8e935ca423526ee5327afe9558f9e25e
tree5a7a8be5cf7a93bc0c3793012a923b8fe03d309a
parent33aebc3b51ce4bc816499a8b68a7feca77a12c6c
Fixes inserting ceph OSD into compute role

The lineinfile was not actually inserting the CephOSD line because it
was already present later in the file (regardless of 'insertbefore').
Therefore we can fix it by simply removing the CephOSD line before we
try to set it, since we do not need it in the storage role anyway.

Change-Id: I8c8d9b6baccfc77ea582fab6ad438b02293f96fb
Signed-off-by: Tim Rozet <trozet@redhat.com>
lib/ansible/playbooks/deploy_overcloud.yml