{"action":"created","issue":{"url":"https://api.github.com/repos/rvm/rvm1-ansible/issues/168","repository_url":"https://api.github.com/repos/rvm/rvm1-ansible","labels_url":"https://api.github.com/repos/rvm/rvm1-ansible/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/rvm/rvm1-ansible/issues/168/comments","events_url":"https://api.github.com/repos/rvm/rvm1-ansible/issues/168/events","html_url":"https://github.com/rvm/rvm1-ansible/issues/168","id":336247430,"node_id":"MDU6SXNzdWUzMzYyNDc0MzA=","number":168,"title":"Install rubies task freeze waiting for user password to be suplied when no binary rubies found","user":{"login":"jgomo3","id":1125678,"node_id":"MDQ6VXNlcjExMjU2Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/1125678?v=4","gravatar_id":"","url":"https://api.github.com/users/jgomo3","html_url":"https://github.com/jgomo3","followers_url":"https://api.github.com/users/jgomo3/followers","following_url":"https://api.github.com/users/jgomo3/following{/other_user}","gists_url":"https://api.github.com/users/jgomo3/gists{/gist_id}","starred_url":"https://api.github.com/users/jgomo3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgomo3/subscriptions","organizations_url":"https://api.github.com/users/jgomo3/orgs","repos_url":"https://api.github.com/users/jgomo3/repos","events_url":"https://api.github.com/users/jgomo3/events{/privacy}","received_events_url":"https://api.github.com/users/jgomo3/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-27T14:10:51Z","updated_at":"2018-06-27T18:42:52Z","closed_at":null,"author_association":"NONE","body":"My playbook freeze when the *rvm1-ansible* role tries to execute the task *Install rubies*.\r\n\r\nDebugging it by printing the result of the expression `'{{ rvm1_rvm }} install {{ item.item }} {{ rvm1_ruby_install_flags }}'`, I get the command `~/.rvm/bin/rvm install ruby-2.1.3`.\r\n\r\nWhen running that command in the to be provisioned server, after some steps it stops askin me for the user password:\r\n\r\n*Updating systemdeploy password required for 'apt-get --quiet --yes update': ..*\r\n\r\nThe user *deploy* is the user asigned to *rvm1_user* in my playbook.\r\n\r\nSo I'm suspecting, the reason *Ansible* stops is *rvm* waiting for User Input with the required password. Even when the command is supposed to be [non interactive](https://rvm.io/rubies/installing#scripting).\r\n\r\nI was thinking in a workaround where you could tell *rvm* there is no need to update the system. But don't know yet how.\r\n\r\nAnyway, this is the bug report."},"comment":{"url":"https://api.github.com/repos/rvm/rvm1-ansible/issues/comments/400788579","html_url":"https://github.com/rvm/rvm1-ansible/issues/168#issuecomment-400788579","issue_url":"https://api.github.com/repos/rvm/rvm1-ansible/issues/168","id":400788579,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDc4ODU3OQ==","user":{"login":"jgomo3","id":1125678,"node_id":"MDQ6VXNlcjExMjU2Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/1125678?v=4","gravatar_id":"","url":"https://api.github.com/users/jgomo3","html_url":"https://github.com/jgomo3","followers_url":"https://api.github.com/users/jgomo3/followers","following_url":"https://api.github.com/users/jgomo3/following{/other_user}","gists_url":"https://api.github.com/users/jgomo3/gists{/gist_id}","starred_url":"https://api.github.com/users/jgomo3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgomo3/subscriptions","organizations_url":"https://api.github.com/users/jgomo3/orgs","repos_url":"https://api.github.com/users/jgomo3/repos","events_url":"https://api.github.com/users/jgomo3/events{/privacy}","received_events_url":"https://api.github.com/users/jgomo3/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T18:42:52Z","updated_at":"2018-06-27T18:42:52Z","author_association":"NONE","body":"It should be a non privileged user.\r\n\r\nThis is the role configuration:\r\n\r\n```\r\n  roles:\r\n    - role: rvm_io.ruby\r\n      rvm1_rubies:\r\n        - ruby-2.1.3\r\n      rvm1_user: deploy\r\n      rvm_install_flags: '--auto-dotfiles --user-install'\r\n      rvm_install_path: '/home/deploy/.rvm'\r\n```"}}
{"actor":{"display_login":"jgomo3"}}