Merge "Add pvremove to the disk clean step"

This commit is contained in:
Zuul 2018-09-18 17:09:55 +00:00 committed by Gerrit Code Review
commit 527f6bafc3

View File

@ -86,8 +86,9 @@ outputs:
dport: '49152-49251' dport: '49152-49251'
host_prep_tasks: host_prep_tasks:
- name: Wipe the configured disks - name: Wipe the configured disks
shell: shell: |
wipefs -af {{item}} wipefs -af {{item}}
pvremove {{item}} || true
with_items: {get_attr: [RoleParametersValue, value, OpenShiftGlusterDisks]} with_items: {get_attr: [RoleParametersValue, value, OpenShiftGlusterDisks]}
upgrade_tasks: [] upgrade_tasks: []
step_config: '' step_config: ''