arknoll / ansible-role-selenium

Ansible Role Selenium
https://galaxy.ansible.com/list#/roles/4340
Other
20 stars 51 forks source link

Failure when adding Chrome repo on Ubuntu 14.04 #27

Closed geerlingguy closed 7 years ago

geerlingguy commented 7 years ago

I'm getting the following error on an instance of Drupal VM with Ubuntu 14.04 when it wasn't an issue before...

TASK [arknoll.selenium : Add Chrome repo (if configured, Debian)] **************
fatal: [chn1]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Shared connection to 127.0.0.1 closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n  File \"/tmp/ansible_twxaQy/ansible_module_apt_repository.py\", line 538, in <module>\r\n    main()\r\n  File \"/tmp/ansible_twxaQy/ansible_module_apt_repository.py\", line 527, in main\r\n    cache.update()\r\n  File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 440, in update\r\n    raise FetchFailedException(e)\r\napt.cache.FetchFailedException: W:Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release  Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)\r\n, E:Some index files failed to download. They have been ignored, or old ones used instead.\r\n", "msg": "MODULE FAILURE"}

Will dig into it. Also, someone else had the same issue and reported it in BLT's issue queue previously: https://github.com/acquia/blt/issues/1020

geerlingguy commented 7 years ago

Gotta love Chrome's ever-changing support for apt/yum repos... It looks like this may be the resolution: http://askubuntu.com/a/743818

Testing now, will file a PR if it's a fix.