Remount Partitions and making permanent

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?

Yes, you can see the remount logic here:

https://github.com/ansible/ansible/blob/devel/library/system/mount#L206

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.

So when I do a remount of root (/) with new options it will be made permanent in fstab?

Are you seeing otherwise?