{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1697","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1697/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1697/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1697/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/1697","id":94113077,"number":1697,"title":"Mount command should have an option to suppress \"-o remount\"","user":{"login":"tanderegg","id":100029,"avatar_url":"https://avatars.githubusercontent.com/u/100029?v=3","gravatar_id":"","url":"https://api.github.com/users/tanderegg","html_url":"https://github.com/tanderegg","followers_url":"https://api.github.com/users/tanderegg/followers","following_url":"https://api.github.com/users/tanderegg/following{/other_user}","gists_url":"https://api.github.com/users/tanderegg/gists{/gist_id}","starred_url":"https://api.github.com/users/tanderegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tanderegg/subscriptions","organizations_url":"https://api.github.com/users/tanderegg/orgs","repos_url":"https://api.github.com/users/tanderegg/repos","events_url":"https://api.github.com/users/tanderegg/events{/privacy}","received_events_url":"https://api.github.com/users/tanderegg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_idea","name":"feature_idea","color":"006b75"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/P4","name":"P4","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-09T17:56:20Z","updated_at":"2015-09-29T16:39:59Z","closed_at":null,"body":"We are using Redhat Storage Server (i.e. GlusterFS) for our shared filesystem within our network.  Unfortunately, GlusterFS FUSE mounts currently do not support the remount option, so any attempt to change mount settings using the Ansible 'mount' module yields the following error:\r\n\r\n`msg: Error mounting {{ mount_point }}: Invalid option remount`\r\n\r\nI would propose adding a 'remount' option to the Ansible 'mount' module, which would force the command to unmount and mount when set to 'no'.  The default would be 'yes', which would preserve the existing behavior of adding '-o remount' to the mount command.\r\n\r\nIf folks think this is a reasonable change, I'd be happy to put together a pull request.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/144114474","html_url":"https://github.com/ansible/ansible-modules-core/issues/1697#issuecomment-144114474","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/1697","id":144114474,"user":{"login":"shane-axiom","id":1138892,"avatar_url":"https://avatars.githubusercontent.com/u/1138892?v=3","gravatar_id":"","url":"https://api.github.com/users/shane-axiom","html_url":"https://github.com/shane-axiom","followers_url":"https://api.github.com/users/shane-axiom/followers","following_url":"https://api.github.com/users/shane-axiom/following{/other_user}","gists_url":"https://api.github.com/users/shane-axiom/gists{/gist_id}","starred_url":"https://api.github.com/users/shane-axiom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shane-axiom/subscriptions","organizations_url":"https://api.github.com/users/shane-axiom/orgs","repos_url":"https://api.github.com/users/shane-axiom/repos","events_url":"https://api.github.com/users/shane-axiom/events{/privacy}","received_events_url":"https://api.github.com/users/shane-axiom/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T16:39:59Z","updated_at":"2015-09-29T16:39:59Z","body":"+1 yes please"}}