Disable pipelining mode in Ansible config

When running ansible playbook in pipelining mode
the deployment fails with: "sudo: sorry, you must have a tty to run sudo\n",

This disables the pipelining mode by default.

There is another workaround by removing the
requiretty in /etc/sudoers

Change-Id: Id9e0e0b756afdc2daa4e05437855ecfbfcbb9f7e
Closes-Bug: 1714917
This commit is contained in:
Carlos Camacho 2017-09-04 11:43:29 +02:00
parent 99fe95d939
commit e092565e65
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ library = /usr/lib/python2.7/site-packages/tripleo-quickstart/library:$VIRTUAL_E
roles_path = roles:$VIRTUAL_ENV/usr/local/share/tripleo-quickstart/roles:$VIRTUAL_ENV/usr/local/share/ansible/roles
[ssh_connection]
pipelining = True
pipelining = False
control_path = %(directory)s/%%h-%%r
ssh_args = -o ControlMaster=auto -o ControlPersist=270s -o ServerAliveInterval=30 -o GSSAPIAuthentication=no
retries = 3