diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-08-19 13:21:20 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-08-19 13:21:20 -0400 |
commit | 3c3669ccf9bacd69a222cdb45a0c377da0ce090a (patch) | |
tree | 65115d54284e4e57beee005d973e59ca489e7697 | |
parent | 3efe322c2621e1ba19a5bfc1e7b13bb8bd1177ef (diff) | |
download | openshift-3c3669ccf9bacd69a222cdb45a0c377da0ce090a.tar.gz openshift-3c3669ccf9bacd69a222cdb45a0c377da0ce090a.tar.bz2 openshift-3c3669ccf9bacd69a222cdb45a0c377da0ce090a.tar.xz openshift-3c3669ccf9bacd69a222cdb45a0c377da0ce090a.zip |
remove fstab entry after pv creation
-rw-r--r-- | playbooks/adhoc/create_pv/create_pv.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/playbooks/adhoc/create_pv/create_pv.yaml b/playbooks/adhoc/create_pv/create_pv.yaml index 684a0ca72..591b1d902 100644 --- a/playbooks/adhoc/create_pv/create_pv.yaml +++ b/playbooks/adhoc/create_pv/create_pv.yaml @@ -118,6 +118,13 @@ state: unmounted fstype: ext4 + - name: remove from fstab + mount: + name: "{{ pv_mntdir }}" + src: "{{ cli_device_name }}" + state: absent + fstype: ext4 + - name: detach drive delegate_to: localhost ec2_vol: |