infrastructure
infrastructure copied to clipboard
sudo: sorry, you must have a tty to run sudo
see https://github.com/openmicroscopy/infrastructure/pull/112#issuecomment-246352638
TASK [upgrade-distpackages : system packages | upgrade] ************************
task path: /Users/ola/OMERO/SYSADMIN/infrastructure/ansible/roles/upgrade-distpackages/tasks/main.yml:4
Monday 12 September 2016 14:46:05 +0100 (0:00:00.363) 0:00:00.403 ******
failed: [10.0.51.143] (item=[u'*']) => {"failed": true, "item": ["*"], "module_stderr": "sudo: sorry, you must have a tty to run sudo\n", "module_stdout": "", "msg": "MODULE FAILURE", "parsed": false}
NO MORE HOSTS LEFT *************************************************************
PLAY RECAP *********************************************************************
10.0.51.143 : ok=1 changed=0 unreachable=0 failed=1
edit ansible.conf and change: pipelining=False
and allow_world_readable_tmpfiles=True
cF. https://bugzilla.redhat.com/show_bug.cgi?id=1196451
Rolling back via https://github.com/openmicroscopy/infrastructure/pull/125. Would still appreciate help getting us pipelining
-enabled across the board. This may require a new centos image.
resolved in https://github.com/openmicroscopy/infrastructure/pull/125
As I said in https://github.com/openmicroscopy/infrastructure/pull/125#issuecomment-250392862, I'd like to find a proper solution for this.