{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3103","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3103/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3103/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3103/events","html_url":"https://github.com/ansible/ansible-modules-core/issues/3103","id":135867079,"number":3103,"title":"apt is not assuming yes","user":{"login":"bitemyapp","id":320177,"avatar_url":"https://avatars.githubusercontent.com/u/320177?v=3","gravatar_id":"","url":"https://api.github.com/users/bitemyapp","html_url":"https://github.com/bitemyapp","followers_url":"https://api.github.com/users/bitemyapp/followers","following_url":"https://api.github.com/users/bitemyapp/following{/other_user}","gists_url":"https://api.github.com/users/bitemyapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bitemyapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitemyapp/subscriptions","organizations_url":"https://api.github.com/users/bitemyapp/orgs","repos_url":"https://api.github.com/users/bitemyapp/repos","events_url":"https://api.github.com/users/bitemyapp/events{/privacy}","received_events_url":"https://api.github.com/users/bitemyapp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-23T21:14:10Z","updated_at":"2016-02-23T21:19:05Z","closed_at":null,"body":"##### Issue Type:\r\n\r\n - Bug Report\r\n\r\n##### Plugin Name:\r\n\r\napt\r\n\r\n##### Ansible Version:\r\n\r\n```\r\n$ ansible --version\r\nansible 2.0.0.2\r\n  config file = /home/callen/work/solo/deployment/ansible.cfg\r\n  configured module search path = Default w/o overrides\r\n```\r\n\r\n##### Ansible Configuration:\r\n\r\n```\r\n$ cat ansible.cfg \r\n[defaults]\r\nremote_user = root\r\ntimeout = 60\r\n# host_key_checking = False\r\n\r\n[ssh_connection]\r\npipelining=True\r\n```\r\n\r\n##### Environment:\r\n\r\nRunning Ansible on Ubuntu 15.10, deploying to 14.04.3\r\n\r\n##### Summary:\r\n\r\napt's letting the interactive prompt come up rather than installing the actual packages I asked for.\r\n\r\n##### Steps To Reproduce:\r\n\r\nFor bugs, please show exactly how to reproduce the problem. For new\r\nfeatures, show how the feature would be used.\r\n\r\n```\r\n(Paste example playbooks or commands here)\r\n```\r\n\r\nYou can also paste gist.github.com links for larger files.\r\n\r\n##### Expected Results:\r\n\r\nI expected apt to be installed.\r\n\r\n##### Actual Results:\r\n\r\n```\r\nTASK [postgres-betterteam : Ensure packages are installed] *********************\r\ntask path: /home/callen/work/solo/deployment/roles/postgres-betterteam/tasks/install.yml:39\r\n<104.236.106.221> ESTABLISH SSH CONNECTION FOR USER: root\r\n<104.236.106.221> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/home/callen/.ansible/cp/ansible-ssh-%h-%p-%r 104.236.106.221 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python'\r\nchanged: [104.236.106.221] => (item=[u'postgresql', u'postgresql-client', u'python-psycopg2']) => {\"cache_update_time\": 0, \"cache_updated\": false, \"changed\": true, \"invocation\": {\"module_args\": {\"_ansible_check_mode\": true, \"cache_valid_time\": null, \"deb\": null, \"default_release\": null, \"dpkg_options\": \"force-confdef,force-confold\", \"force\": true, \"install_recommends\": null, \"name\": [\"postgresql\", \"postgresql-client\", \"python-psycopg2\"], \"package\": [\"postgresql\", \"postgresql-client\", \"python-psycopg2\"], \"purge\": false, \"state\": \"present\", \"update_cache\": false, \"upgrade\": null}, \"module_name\": \"apt\"}, \"item\": [\"postgresql\", \"postgresql-client\", \"python-psycopg2\"], \"stderr\": \"\", \"stdout\": \"Reading package lists...\\nBuilding dependency tree...\\nReading state information...\\nThe following extra packages will be installed:\\n  libpq5 postgresql-9.3 postgresql-client-9.3 postgresql-client-common\\n  postgresql-common python-egenix-mxdatetime python-egenix-mxtools ssl-cert\\nSuggested packages:\\n  oidentd ident-server locales-all postgresql-doc-9.3\\n  python-egenix-mxdatetime-dbg python-egenix-mxdatetime-doc\\n  python-egenix-mxtools-dbg python-egenix-mxtools-doc python-psycopg2-doc\\n  openssl-blacklist\\nThe following NEW packages will be installed:\\n  libpq5 postgresql postgresql-9.3 postgresql-client postgresql-client-9.3\\n  postgresql-client-common postgresql-common python-egenix-mxdatetime\\n  python-egenix-mxtools python-psycopg2 ssl-cert\\n0 upgraded, 11 newly installed, 0 to remove and 11 not upgraded.\\nInst libpq5 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nInst postgresql-client-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nInst postgresql-client-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nInst ssl-cert (1.0.33 Ubuntu:14.04/trusty [all])\\nInst postgresql-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nInst postgresql-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nInst postgresql (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nInst postgresql-client (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nInst python-egenix-mxtools (3.2.7-1build1 Ubuntu:14.04/trusty [amd64])\\nInst python-egenix-mxdatetime (3.2.7-1build1 Ubuntu:14.04/trusty [amd64])\\nInst python-psycopg2 (2.4.5-1build5 Ubuntu:14.04/trusty [amd64])\\nConf libpq5 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nConf postgresql-client-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nConf postgresql-client-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nConf ssl-cert (1.0.33 Ubuntu:14.04/trusty [all])\\nConf postgresql-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nConf postgresql-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nConf postgresql (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nConf postgresql-client (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nConf python-egenix-mxtools (3.2.7-1build1 Ubuntu:14.04/trusty [amd64])\\nConf python-egenix-mxdatetime (3.2.7-1build1 Ubuntu:14.04/trusty [amd64])\\nConf python-psycopg2 (2.4.5-1build5 Ubuntu:14.04/trusty [amd64])\\n\", \"stdout_lines\": [\"Reading package lists...\", \"Building dependency tree...\", \"Reading state information...\", \"The following extra packages will be installed:\", \"  libpq5 postgresql-9.3 postgresql-client-9.3 postgresql-client-common\", \"  postgresql-common python-egenix-mxdatetime python-egenix-mxtools ssl-cert\", \"Suggested packages:\", \"  oidentd ident-server locales-all postgresql-doc-9.3\", \"  python-egenix-mxdatetime-dbg python-egenix-mxdatetime-doc\", \"  python-egenix-mxtools-dbg python-egenix-mxtools-doc python-psycopg2-doc\", \"  openssl-blacklist\", \"The following NEW packages will be installed:\", \"  libpq5 postgresql postgresql-9.3 postgresql-client postgresql-client-9.3\", \"  postgresql-client-common postgresql-common python-egenix-mxdatetime\", \"  python-egenix-mxtools python-psycopg2 ssl-cert\", \"0 upgraded, 11 newly installed, 0 to remove and 11 not upgraded.\", \"Inst libpq5 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Inst postgresql-client-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Inst postgresql-client-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Inst ssl-cert (1.0.33 Ubuntu:14.04/trusty [all])\", \"Inst postgresql-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Inst postgresql-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Inst postgresql (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Inst postgresql-client (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Inst python-egenix-mxtools (3.2.7-1build1 Ubuntu:14.04/trusty [amd64])\", \"Inst python-egenix-mxdatetime (3.2.7-1build1 Ubuntu:14.04/trusty [amd64])\", \"Inst python-psycopg2 (2.4.5-1build5 Ubuntu:14.04/trusty [amd64])\", \"Conf libpq5 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Conf postgresql-client-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Conf postgresql-client-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Conf ssl-cert (1.0.33 Ubuntu:14.04/trusty [all])\", \"Conf postgresql-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Conf postgresql-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Conf postgresql (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Conf postgresql-client (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Conf python-egenix-mxtools (3.2.7-1build1 Ubuntu:14.04/trusty [amd64])\", \"Conf python-egenix-mxdatetime (3.2.7-1build1 Ubuntu:14.04/trusty [amd64])\", \"Conf python-psycopg2 (2.4.5-1build5 Ubuntu:14.04/trusty [amd64])\"]}\r\n\r\nTASK [postgres-betterteam : Install PostgreSQL contribs] ***********************\r\ntask path: /home/callen/work/solo/deployment/roles/postgres-betterteam/tasks/install.yml:50\r\n<104.236.106.221> ESTABLISH SSH CONNECTION FOR USER: root\r\n<104.236.106.221> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/home/callen/.ansible/cp/ansible-ssh-%h-%p-%r 104.236.106.221 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python'\r\nchanged: [104.236.106.221] => {\"cache_update_time\": 0, \"cache_updated\": false, \"changed\": true, \"invocation\": {\"module_args\": {\"_ansible_check_mode\": true, \"cache_valid_time\": null, \"deb\": null, \"default_release\": null, \"dpkg_options\": \"force-confdef,force-confold\", \"force\": false, \"install_recommends\": null, \"package\": [\"postgresql-contrib\"], \"pkg\": \"postgresql-contrib\", \"purge\": false, \"state\": \"present\", \"update_cache\": false, \"upgrade\": null}, \"module_name\": \"apt\"}, \"stderr\": \"\", \"stdout\": \"Reading package lists...\\nBuilding dependency tree...\\nReading state information...\\nThe following extra packages will be installed:\\n  libossp-uuid16 libpq5 libxslt1.1 postgresql-9.3 postgresql-client-9.3\\n  postgresql-client-common postgresql-common postgresql-contrib-9.3 ssl-cert\\nSuggested packages:\\n  uuid oidentd ident-server locales-all postgresql-doc-9.3 libdbd-pg-perl\\n  openssl-blacklist\\nThe following NEW packages will be installed:\\n  libossp-uuid16 libpq5 libxslt1.1 postgresql-9.3 postgresql-client-9.3\\n  postgresql-client-common postgresql-common postgresql-contrib\\n  postgresql-contrib-9.3 ssl-cert\\n0 upgraded, 10 newly installed, 0 to remove and 11 not upgraded.\\nInst libxslt1.1 (1.1.28-2build1 Ubuntu:14.04/trusty [amd64])\\nInst libossp-uuid16 (1.6.2-1.3ubuntu1 Ubuntu:14.04/trusty [amd64])\\nInst libpq5 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nInst postgresql-client-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nInst postgresql-client-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nInst ssl-cert (1.0.33 Ubuntu:14.04/trusty [all])\\nInst postgresql-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nInst postgresql-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nInst postgresql-contrib-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nInst postgresql-contrib (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nConf libxslt1.1 (1.1.28-2build1 Ubuntu:14.04/trusty [amd64])\\nConf libossp-uuid16 (1.6.2-1.3ubuntu1 Ubuntu:14.04/trusty [amd64])\\nConf libpq5 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nConf postgresql-client-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nConf postgresql-client-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nConf ssl-cert (1.0.33 Ubuntu:14.04/trusty [all])\\nConf postgresql-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\nConf postgresql-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nConf postgresql-contrib-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\\nConf postgresql-contrib (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\\n\", \"stdout_lines\": [\"Reading package lists...\", \"Building dependency tree...\", \"Reading state information...\", \"The following extra packages will be installed:\", \"  libossp-uuid16 libpq5 libxslt1.1 postgresql-9.3 postgresql-client-9.3\", \"  postgresql-client-common postgresql-common postgresql-contrib-9.3 ssl-cert\", \"Suggested packages:\", \"  uuid oidentd ident-server locales-all postgresql-doc-9.3 libdbd-pg-perl\", \"  openssl-blacklist\", \"The following NEW packages will be installed:\", \"  libossp-uuid16 libpq5 libxslt1.1 postgresql-9.3 postgresql-client-9.3\", \"  postgresql-client-common postgresql-common postgresql-contrib\", \"  postgresql-contrib-9.3 ssl-cert\", \"0 upgraded, 10 newly installed, 0 to remove and 11 not upgraded.\", \"Inst libxslt1.1 (1.1.28-2build1 Ubuntu:14.04/trusty [amd64])\", \"Inst libossp-uuid16 (1.6.2-1.3ubuntu1 Ubuntu:14.04/trusty [amd64])\", \"Inst libpq5 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Inst postgresql-client-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Inst postgresql-client-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Inst ssl-cert (1.0.33 Ubuntu:14.04/trusty [all])\", \"Inst postgresql-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Inst postgresql-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Inst postgresql-contrib-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Inst postgresql-contrib (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Conf libxslt1.1 (1.1.28-2build1 Ubuntu:14.04/trusty [amd64])\", \"Conf libossp-uuid16 (1.6.2-1.3ubuntu1 Ubuntu:14.04/trusty [amd64])\", \"Conf libpq5 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Conf postgresql-client-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Conf postgresql-client-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Conf ssl-cert (1.0.33 Ubuntu:14.04/trusty [all])\", \"Conf postgresql-common (154ubuntu1 Ubuntu:14.04/trusty-updates [all])\", \"Conf postgresql-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Conf postgresql-contrib-9.3 (9.3.11-0ubuntu0.14.04 Ubuntu:14.04/trusty-updates [amd64])\", \"Conf postgresql-contrib (9.3+154ubuntu1 Ubuntu:14.04/trusty-updates [all])\"]}\r\n\r\nTASK [postgres-betterteam : ensure postgresql server is started] ***************\r\ntask path: /home/callen/work/solo/deployment/roles/postgres-betterteam/tasks/install.yml:72\r\n<104.236.106.221> ESTABLISH SSH CONNECTION FOR USER: root\r\n<104.236.106.221> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/home/callen/.ansible/cp/ansible-ssh-%h-%p-%r 104.236.106.221 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python'\r\nfatal: [104.236.106.221]: FAILED! => {\"changed\": false, \"failed\": true, \"invocation\": {\"module_args\": {\"_ansible_check_mode\": true, \"arguments\": 9.2, \"enabled\": true, \"name\": \"postgresql\", \"pattern\": \"/usr/lib/postgresql/9.2/bin/postgres -D /var/lib/postgresql/9.2/main\", \"runlevel\": \"default\", \"sleep\": null, \"state\": \"started\"}, \"module_name\": \"service\"}, \"msg\": \"no service or tool found for: postgresql\"}\r\n```\r\n\r\nThen checking if it installed on the server:\r\n\r\n```\r\nroot@app-dev:~# sudo apt-get install postgresql\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nThe following extra packages will be installed:\r\n  libpq5 postgresql-9.3 postgresql-client-9.3 postgresql-client-common\r\n  postgresql-common ssl-cert\r\nSuggested packages:\r\n  oidentd ident-server locales-all postgresql-doc-9.3 openssl-blacklist\r\nThe following NEW packages will be installed:\r\n  libpq5 postgresql postgresql-9.3 postgresql-client-9.3\r\n  postgresql-client-common postgresql-common ssl-cert\r\n0 upgraded, 7 newly installed, 0 to remove and 11 not upgraded.\r\nNeed to get 3,701 kB of archives.\r\nAfter this operation, 15.6 MB of additional disk space will be used.\r\nDo you want to continue? [Y/n] n\r\nAbort.\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/187912982","html_url":"https://github.com/ansible/ansible-modules-core/issues/3103#issuecomment-187912982","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/3103","id":187912982,"user":{"login":"bitemyapp","id":320177,"avatar_url":"https://avatars.githubusercontent.com/u/320177?v=3","gravatar_id":"","url":"https://api.github.com/users/bitemyapp","html_url":"https://github.com/bitemyapp","followers_url":"https://api.github.com/users/bitemyapp/followers","following_url":"https://api.github.com/users/bitemyapp/following{/other_user}","gists_url":"https://api.github.com/users/bitemyapp/gists{/gist_id}","starred_url":"https://api.github.com/users/bitemyapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitemyapp/subscriptions","organizations_url":"https://api.github.com/users/bitemyapp/orgs","repos_url":"https://api.github.com/users/bitemyapp/repos","events_url":"https://api.github.com/users/bitemyapp/events{/privacy}","received_events_url":"https://api.github.com/users/bitemyapp/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T21:19:05Z","updated_at":"2016-02-23T21:19:05Z","body":"Using commands doesn't seem to help?\r\n\r\n```\r\nTASK [postgres-betterteam : Ensure packages are installed] *********************\r\ntask path: /home/callen/work/solo/deployment/roles/postgres-betterteam/tasks/install.yml:39\r\n<104.236.106.221> ESTABLISH SSH CONNECTION FOR USER: root\r\n<104.236.106.221> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/home/callen/.ansible/cp/ansible-ssh-%h-%p-%r 104.236.106.221 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python'\r\nskipping: [104.236.106.221] => {\"changed\": false, \"invocation\": {\"module_args\": {\"_ansible_check_mode\": true, \"_raw_params\": \"apt-get install -y postgresql postgresql-client python-psycopg2 postgresql-contrib\"}, \"module_name\": \"command\"}, \"msg\": \"remote module does not support check mode\", \"skipped\": true}\r\n\r\nTASK [postgres-betterteam : ensure postgresql server is started] ***************\r\ntask path: /home/callen/work/solo/deployment/roles/postgres-betterteam/tasks/install.yml:76\r\n<104.236.106.221> ESTABLISH SSH CONNECTION FOR USER: root\r\n<104.236.106.221> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=60 -o ControlPath=/home/callen/.ansible/cp/ansible-ssh-%h-%p-%r 104.236.106.221 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python'\r\nfatal: [104.236.106.221]: FAILED! => {\"changed\": false, \"failed\": true, \"invocation\": {\"module_args\": {\"_ansible_check_mode\": true, \"arguments\": 9.2, \"enabled\": true, \"name\": \"postgresql\", \"pattern\": \"/usr/lib/postgresql/9.2/bin/postgres -D /var/lib/postgresql/9.2/main\", \"runlevel\": \"default\", \"sleep\": null, \"state\": \"started\"}, \"module_name\": \"service\"}, \"msg\": \"no service or tool found for: postgresql\"}\r\n```"}}