{"action":"closed","issue":{"url":"https://api.github.com/repos/ansible/tower-cli/issues/55","labels_url":"https://api.github.com/repos/ansible/tower-cli/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/ansible/tower-cli/issues/55/comments","events_url":"https://api.github.com/repos/ansible/tower-cli/issues/55/events","html_url":"https://github.com/ansible/tower-cli/issues/55","id":100755890,"number":55,"title":"Can't use tower-cli on travis","user":{"login":"tristanbes","id":346010,"avatar_url":"https://avatars.githubusercontent.com/u/346010?v=3","gravatar_id":"","url":"https://api.github.com/users/tristanbes","html_url":"https://github.com/tristanbes","followers_url":"https://api.github.com/users/tristanbes/followers","following_url":"https://api.github.com/users/tristanbes/following{/other_user}","gists_url":"https://api.github.com/users/tristanbes/gists{/gist_id}","starred_url":"https://api.github.com/users/tristanbes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristanbes/subscriptions","organizations_url":"https://api.github.com/users/tristanbes/orgs","repos_url":"https://api.github.com/users/tristanbes/repos","events_url":"https://api.github.com/users/tristanbes/events{/privacy}","received_events_url":"https://api.github.com/users/tristanbes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T12:22:59Z","updated_at":"2015-08-13T12:26:53Z","closed_at":"2015-08-13T12:26:53Z","body":"On the documentation you state that you can use tower cli to launch job templates on ci (like travis)\r\n\r\nThe problem is that we can't install tower-cli without being sudo.\r\nIf using sudo, we break travis and it force us to be on the non-container infrastructure which is old and slow.\r\n\r\nInstalling via pip with the container infrastructure (sudo: false) results in : \r\n```\r\n$ pip install ansible-tower-cli\r\nYou are using pip version 6.0.8, however version 7.1.0 is available.\r\nYou should consider upgrading via the 'pip install --upgrade pip' command.\r\nCollecting ansible-tower-cli\r\n  Downloading ansible-tower-cli-2.1.1.tar.gz\r\nCollecting click>=2.1 (from ansible-tower-cli)\r\n  Downloading click-4.1-py2.py3-none-any.whl (62kB)\r\n    100% |################################| 65kB 5.4MB/s \r\nCollecting colorama>=0.3.1 (from ansible-tower-cli)\r\n  Downloading colorama-0.3.3.tar.gz\r\nCollecting dict.sorted==1.0.0 (from ansible-tower-cli)\r\n  Downloading dict.sorted-1.0.0.tar.gz (106kB)\r\n    100% |################################| 110kB 4.1MB/s \r\nCollecting requests>=2.3.0 (from ansible-tower-cli)\r\n  Downloading requests-2.7.0-py2.py3-none-any.whl (470kB)\r\n    100% |################################| 471kB 1.1MB/s \r\nCollecting six>=1.7.2 (from ansible-tower-cli)\r\n  Downloading six-1.9.0-py2.py3-none-any.whl\r\nInstalling collected packages: six, requests, dict.sorted, colorama, click, ansible-tower-cli\r\n  Exception:\r\n  Traceback (most recent call last):\r\n    File \"/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/basecommand.py\", line 232, in main\r\n      status = self.run(options, args)\r\n    File \"/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/commands/install.py\", line 347, in run\r\n      root=options.root_path,\r\n    File \"/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/req/req_set.py\", line 549, in install\r\n      **kwargs\r\n    File \"/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/req/req_install.py\", line 754, in install\r\n      self.move_wheel_files(self.source_dir, root=root)\r\n    File \"/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/req/req_install.py\", line 963, in move_wheel_files\r\n      isolated=self.isolated,\r\n    File \"/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/wheel.py\", line 234, in move_wheel_files\r\n      clobber(source, lib_dir, True)\r\n    File \"/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/wheel.py\", line 212, in clobber\r\n      shutil.copyfile(srcfile, destfile)\r\n    File \"/usr/lib/python2.7/shutil.py\", line 83, in copyfile\r\n      with open(dst, 'wb') as fdst:\r\n  IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/six.py'\r\n```\r\n"}}