You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
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
Brian Coca
unread,
Jul 1, 2014, 6:33:41 PM7/1/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
ansible facts contain your mounted filesystems and your block devices, you can examine the facts per each server, look under ansible_devices.