]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
implement modify_fstab to persist mount options in /etc/fstab 72/head
authorLoic Dachary <ldachary@redhat.com>
Thu, 9 Jul 2015 14:48:11 +0000 (16:48 +0200)
committerLoic Dachary <ldachary@redhat.com>
Thu, 9 Jul 2015 20:01:56 +0000 (22:01 +0200)
http://tracker.ceph.com/issues/12250 Fixes: #12250

Signed-off-by: Loic Dachary <loic@dachary.org>
roles/testnode/defaults/main.yml
roles/testnode/tasks/apt_systems.yml

index 808a3d7d9a087a4f7e5df4db78e13146ca7da7e1..b6218902ac1a85981f3b3fae6189b05951d0afc5 100644 (file)
@@ -22,3 +22,8 @@ xfstests_user: "fsgqa"
 # some distros need to start rpcbind before
 # trying to use nfs while others don't.
 start_rpcbind: true
+
+# set to true if /etc/fstab must be modified to persist things like
+# mount options, which is useful for long lived bare metal machines,
+# less useful for virtual machines that are re-imaged before each job
+modify_fstab: true
index fb8235b157caca262d384702aa24bdc51190ee58..b32bbceceb1a3eaff3129fec93ce814009675fca 100644 (file)
@@ -32,6 +32,7 @@
   args:
     creates: /etc/fstab.bak
   register: add_user_xattr
+  when: modify_fstab == true
 
 - name: Enable xattr for this boot.
   command: