{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/12511","labels_url":"https://api.github.com/repos/ansible/ansible/issues/12511/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/12511/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/12511/events","html_url":"https://github.com/ansible/ansible/issues/12511","id":108173045,"number":12511,"title":"Ansible 2: All plays fail with \"ERROR! connect() got an unexpected keyword argument 'compress'\"","user":{"login":"yeroc","id":54356,"avatar_url":"https://avatars.githubusercontent.com/u/54356?v=3","gravatar_id":"","url":"https://api.github.com/users/yeroc","html_url":"https://github.com/yeroc","followers_url":"https://api.github.com/users/yeroc/followers","following_url":"https://api.github.com/users/yeroc/following{/other_user}","gists_url":"https://api.github.com/users/yeroc/gists{/gist_id}","starred_url":"https://api.github.com/users/yeroc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeroc/subscriptions","organizations_url":"https://api.github.com/users/yeroc/orgs","repos_url":"https://api.github.com/users/yeroc/repos","events_url":"https://api.github.com/users/yeroc/events{/privacy}","received_events_url":"https://api.github.com/users/yeroc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible/labels/bug_report","name":"bug_report","color":"fbca04"},{"url":"https://api.github.com/repos/ansible/ansible/labels/P1","name":"P1","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ansible/ansible/milestones/5","html_url":"https://github.com/ansible/ansible/milestones/v2","labels_url":"https://api.github.com/repos/ansible/ansible/milestones/5/labels","id":975800,"number":5,"title":"v2","description":null,"creator":{"login":"bcoca","id":836171,"avatar_url":"https://avatars.githubusercontent.com/u/836171?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoca","html_url":"https://github.com/bcoca","followers_url":"https://api.github.com/users/bcoca/followers","following_url":"https://api.github.com/users/bcoca/following{/other_user}","gists_url":"https://api.github.com/users/bcoca/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoca/subscriptions","organizations_url":"https://api.github.com/users/bcoca/orgs","repos_url":"https://api.github.com/users/bcoca/repos","events_url":"https://api.github.com/users/bcoca/events{/privacy}","received_events_url":"https://api.github.com/users/bcoca/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":329,"state":"open","created_at":"2015-02-11T19:43:06Z","updated_at":"2015-09-24T20:20:44Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-24T17:09:02Z","updated_at":"2015-09-24T20:20:44Z","closed_at":"2015-09-24T20:20:44Z","body":"##### Issue Type:\r\n\r\n  - Bug Report\r\n\r\n##### Ansible Version:\r\n```\r\n$ ansible --version\r\nansible 2.0.0 (devel 5d3d9cfe0d) last updated 2015/09/23 17:22:21 (GMT -600)\r\n  lib/ansible/modules/core: (detached HEAD e8227dea7a) last updated 2015/09/24 10:23:05 (GMT -600)\r\n  lib/ansible/modules/extras: (detached HEAD 6cd7399a71) last updated 2015/09/24 10:23:07 (GMT -600)\r\n  config file = /space/ansible/ansible.cfg\r\n  configured module search path = None\r\n```\r\n##### Ansible Configuration:\r\n```\r\nremote_tmp     = /tmp/.ansible\r\n```\r\n##### Environment:\r\nManagement Host: CentOS release 6.5 x64\r\nTarget Host: CentOS release 6.7 x64\r\n\r\n##### Summary:\r\nAll our plays which currently work fine with Ansible 1.9 are failing to connect to our hosts successfully with Ansible 2.\r\n\r\n##### Steps To Reproduce:\r\nGiven a simple play:\r\n```yaml\r\n---\r\n- hosts: webserver\r\n  remote_user: \"{{ deploy_user }}\"\r\n  sudo: no\r\n  tasks:\r\n  - name: debug\r\n    debug: msg=\"Hello world!\"\r\n```\r\n##### Expected Results:\r\nThis is what we get with Ansible 1.9:\r\n```\r\n$ ansible-playbook -i inventory connect-failure.yml \r\n\r\nPLAY [webserver] ************************************************************** \r\n\r\nGATHERING FACTS *************************************************************** \r\nok: [inet-dmz2-tst]\r\n\r\nTASK: [debug] ***************************************************************** \r\nok: [inet-dmz2-tst] => {\r\n    \"msg\": \"Hello world!\"\r\n}\r\n\r\nPLAY RECAP ******************************************************************** \r\ninet-dmz2-tst              : ok=2    changed=0    unreachable=0    failed=0   \r\n```\r\n##### Actual Results:\r\nBut with Ansible 2:\r\n```\r\n$ ansible-playbook -i inventory connect-failure.yml \r\n\r\nPLAY ***************************************************************************\r\n\r\nTASK [setup] *******************************************************************\r\nfatal: [inet-dmz2-tst]: UNREACHABLE! => {\"changed\": false, \"msg\": \"ERROR! connect() got an unexpected keyword argument 'compress'\", \"unreachable\": true}\r\n\r\nPLAY RECAP *********************************************************************\r\ninet-dmz2-tst              : ok=0    changed=0    unreachable=1    failed=0   \r\n```"}}