Also note the description of the module " - This module controls active and configured mount points in C(/etc/fstab)."
So no manual editing of fstab. On Mon, Dec 9, 2013 at 9:36 AM, Michael DeHaan <[email protected]>wrote: > Yes, you can see the remount logic here: > > https://github.com/ansible/ansible/blob/devel/library/system/mount#L206 > > > > > On Mon, Dec 9, 2013 at 12:09 AM, TextEditor <[email protected]> wrote: > >> How would I remount the root partition with the "noatime" option and >> afterwards make it permanent, without knowing the layout of the filesystems >> on the machine (so no template for /etc/fstab)? >> >> If the "mounted" state is given to the mount module, will it remount the >> partition if it is already mounted? >> >> mount: name=/ src=/dev/mapper/root fstype=xfs opts=ro state=mounted >> >> How would I make the above permanent? With a "mount > /etc/fstab", or is >> there a nicer way? >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Michael DeHaan <[email protected]> > CTO, AnsibleWorks, Inc. > http://www.ansibleworks.com/ > > -- Michael DeHaan <[email protected]> CTO, AnsibleWorks, Inc. http://www.ansibleworks.com/ -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
