diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-08-19 13:22:50 -0400 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-08-19 13:22:50 -0400 |
commit | 95654ac10063f5779f051018088ed13f7d460bd0 (patch) | |
tree | 65115d54284e4e57beee005d973e59ca489e7697 | |
parent | 3efe322c2621e1ba19a5bfc1e7b13bb8bd1177ef (diff) | |
parent | 3c3669ccf9bacd69a222cdb45a0c377da0ce090a (diff) | |
download | openshift-95654ac10063f5779f051018088ed13f7d460bd0.tar.gz openshift-95654ac10063f5779f051018088ed13f7d460bd0.tar.bz2 openshift-95654ac10063f5779f051018088ed13f7d460bd0.tar.xz openshift-95654ac10063f5779f051018088ed13f7d460bd0.zip |
Merge pull request #493 from kwoodson/pvfix
fstab cleanup 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: |