{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph-ansible/issues/695","repository_url":"https://api.github.com/repos/ceph/ceph-ansible","labels_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/695/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/695/comments","events_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/695/events","html_url":"https://github.com/ceph/ceph-ansible/issues/695","id":146627465,"number":695,"title":"ERROR! module is missing interpreter line","user":{"login":"vvb","id":4341190,"avatar_url":"https://avatars.githubusercontent.com/u/4341190?v=3","gravatar_id":"","url":"https://api.github.com/users/vvb","html_url":"https://github.com/vvb","followers_url":"https://api.github.com/users/vvb/followers","following_url":"https://api.github.com/users/vvb/following{/other_user}","gists_url":"https://api.github.com/users/vvb/gists{/gist_id}","starred_url":"https://api.github.com/users/vvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvb/subscriptions","organizations_url":"https://api.github.com/users/vvb/orgs","repos_url":"https://api.github.com/users/vvb/repos","events_url":"https://api.github.com/users/vvb/events{/privacy}","received_events_url":"https://api.github.com/users/vvb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-07T13:35:43Z","updated_at":"2016-04-12T06:43:58Z","closed_at":null,"body":"Seeing the following failure while running `vagrant provision`\r\n```\r\nTASK [ceph.ceph-common : generate ceph configuration file] *********************\r\nfatal: [mon0]: FAILED! => {\"failed\": true, \"msg\": \"ERROR! module is missing interpreter line\"}\r\n```\r\n\r\n\r\n```\r\n�  ceph-ansible git:(master) � cat ansible.cfg\r\n[defaults]\r\nansible_managed = Please do not change this file directly since it is managed by Ansible and will be overwritten\r\naction_plugins = plugins/actions\r\n�  ceph-ansible git:(master) �\r\n```\r\n\r\nI have tried adding `#!/usr/bin/env python` to all the files in `plugins/actions` and `roles/ceph-common/plugins/actions`\r\n\r\nalso verified that the ansible.cfg has `plugins/actions` specified. tried changing it to `roles/ceph-common/plugins/actions`\r\n\r\nBut I still see the issue..\r\n\r\n```\r\nPython 2.7.8\r\nansible 2.0.0.2\r\n```\r\n\r\nUpdate:\r\nI added `#!/usr/bin/python` to `library/config_template`. Now I get a different error in the same task,\r\n\r\n```\r\nfatal: [mon0]: FAILED! => {\"changed\": false, \"failed\": true, \"invocation\": {\"module_name\": \"config_template\"}, \"module_stderr\": \"OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 18664\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\nShared connection to 127.0.0.1 closed.\r\n\", \"module_stdout\": \"\", \"msg\": \"MODULE FAILURE\", \"parsed\": false}\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ceph/ceph-ansible/issues/comments/208733676","html_url":"https://github.com/ceph/ceph-ansible/issues/695#issuecomment-208733676","issue_url":"https://api.github.com/repos/ceph/ceph-ansible/issues/695","id":208733676,"user":{"login":"vvb","id":4341190,"avatar_url":"https://avatars.githubusercontent.com/u/4341190?v=3","gravatar_id":"","url":"https://api.github.com/users/vvb","html_url":"https://github.com/vvb","followers_url":"https://api.github.com/users/vvb/followers","following_url":"https://api.github.com/users/vvb/following{/other_user}","gists_url":"https://api.github.com/users/vvb/gists{/gist_id}","starred_url":"https://api.github.com/users/vvb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvb/subscriptions","organizations_url":"https://api.github.com/users/vvb/orgs","repos_url":"https://api.github.com/users/vvb/repos","events_url":"https://api.github.com/users/vvb/events{/privacy}","received_events_url":"https://api.github.com/users/vvb/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T06:43:58Z","updated_at":"2016-04-12T06:43:58Z","body":"@cloudnull will update, test and get back."}}