{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3153","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3153/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3153/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3153/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/3153","id":137482601,"number":3153,"title":"fstab parameter of mount module won't work","user":{"login":"64er","id":4814508,"avatar_url":"https://avatars.githubusercontent.com/u/4814508?v=3","gravatar_id":"","url":"https://api.github.com/users/64er","html_url":"https://github.com/64er","followers_url":"https://api.github.com/users/64er/followers","following_url":"https://api.github.com/users/64er/following{/other_user}","gists_url":"https://api.github.com/users/64er/gists{/gist_id}","starred_url":"https://api.github.com/users/64er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/64er/subscriptions","organizations_url":"https://api.github.com/users/64er/orgs","repos_url":"https://api.github.com/users/64er/repos","events_url":"https://api.github.com/users/64er/events{/privacy}","received_events_url":"https://api.github.com/users/64er/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-01T06:16:37Z","updated_at":"2016-03-18T10:06:00Z","closed_at":null,"body":"##### Issue Type:\r\n\r\n - Bug Report\r\n\r\n##### Ansible Version:\r\n\r\nansible 2.0.0.2\r\n  config file = /etc/ansible/ansible.cfg\r\n  configured module search path = /usr/share/ansible\r\n\r\n\r\n##### Ansible Configuration:\r\n\r\n\r\n##### Environment:\r\n\r\nUbuntu 14.04 64Bit\r\n\r\n##### Summary:\r\n\r\nset fstab=**/tmp/fstab** in mount module result in 'can't find mount point in **/etc/fstab**'\r\n\r\n##### Steps To Reproduce:\r\n\r\n./test-module -m ../lib/ansible/modules/core/system/mount.py -a \"src=/dev/sda9 name=/tmp/mnt fstype=ext3 state=mounted **fstab=/tmp/fstab**\"\r\n##### Expected Results:\r\nchanged: ok\r\n\r\nand a line in /tmp/fstab and 'mount -a' should show the mounted device\r\n\r\n\r\n##### Actual Results:\r\n\r\n***********************************\r\nPARSED OUTPUT\r\n{\r\n    \"failed\": true, \r\n    \"invocation\": {\r\n        \"module_args\": {\r\n            \"dump\": null, \r\n            \"fstab\": **\"/tmp/fstab\"**, \r\n            \"fstype\": \"ext3\", \r\n            \"name\": \"/tmp/mnt\", \r\n            \"opts\": null, \r\n            \"passno\": null, \r\n            \"src\": \"/dev/sda9\", \r\n            \"state\": \"mounted\"\r\n        }\r\n    }, \r\n    \"msg\": \"Error mounting /tmp/mnt: mount: /tmp/mnt konnte nicht in **/etc/fstab oder /etc/mtab** gefunden werden\\n\"\r\n}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/198288636","html_url":"https://github.com/ansible/ansible-modules-core/issues/3153#issuecomment-198288636","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3153","id":198288636,"user":{"login":"64er","id":4814508,"avatar_url":"https://avatars.githubusercontent.com/u/4814508?v=3","gravatar_id":"","url":"https://api.github.com/users/64er","html_url":"https://github.com/64er","followers_url":"https://api.github.com/users/64er/followers","following_url":"https://api.github.com/users/64er/following{/other_user}","gists_url":"https://api.github.com/users/64er/gists{/gist_id}","starred_url":"https://api.github.com/users/64er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/64er/subscriptions","organizations_url":"https://api.github.com/users/64er/orgs","repos_url":"https://api.github.com/users/64er/repos","events_url":"https://api.github.com/users/64er/events{/privacy}","received_events_url":"https://api.github.com/users/64er/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T10:06:00Z","updated_at":"2016-03-18T10:06:00Z","body":"I tried your commit. I got an error like \"no Option -T for mount\". I looked into the manpage of mount and couldn't find -T on my Ubuntu 14.04 system."}}