Included --nowrap to all supported system commands in
optimized-restore playbook Various configuration steps using ansible-playbooks can fail due to wrapped system CLI outputs and it can give unpredictable results. Hence in the optimized-restore playbook all system cli commands whose output are being processed is specified with --nowrap option. TEST PLAN: PASS: AIO-SX: Local Backup and Restore Passed PASS: AIO-SX: Backup and Restore(Optimized) successful Change-Id: Id2df0361bfd11be1cfcf45b255b83f20313453d1 Signed-off-by: Dipankar Kar <dipankar.kar@windriver.com>
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
# - For systems with storage nodes we get ceph-mon data from storage-0
|
||||
# ceph-mon that is already up and will not be reinstalled.
|
||||
- name: Check if setup has storage nodes
|
||||
shell: source /etc/platform/openrc; system host-list --format value --column personality
|
||||
command: bash -c 'source /etc/platform/openrc; system host-list --nowrap --format value --column personality'
|
||||
register: node_personalities
|
||||
failed_when: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user