Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

sudo: sorry, you must have a tty to run sudo #118

Open
atarkowska opened this issue Sep 21, 2016 · 4 comments
Open

sudo: sorry, you must have a tty to run sudo #118

atarkowska opened this issue Sep 21, 2016 · 4 comments

Comments

@atarkowska
Copy link
Member

atarkowska commented Sep 21, 2016

see #112 (comment)

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

@joshmoore
Copy link
Member

joshmoore added a commit to joshmoore/infrastructure that referenced this issue Sep 21, 2016
joshmoore added a commit to joshmoore/infrastructure that referenced this issue Sep 21, 2016
@joshmoore
Copy link
Member

Rolling back via #125. Would still appreciate help getting us pipelining-enabled across the board. This may require a new centos image.

@atarkowska
Copy link
Member Author

resolved in #125

@joshmoore
Copy link
Member

As I said in #125 (comment), I'd like to find a proper solution for this.

@joshmoore joshmoore reopened this Oct 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants