Hi, I have a file system that is present on some servers but not others /dev/sdb, what is the best way to automatically format this disk if is is currently not formatted and then mount it to /data. If the device does not exist then which should not attempt to format it or mount it and if the device exists and is already formatted then we should just mount it?
Thanks Mark -- 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]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/957f2e2e-4ae2-462a-a49e-36fc539f29d4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
