Skip to content
Snippets Groups Projects
Commit 7abcf6e0 authored by Alexander Block's avatar Alexander Block
Browse files

Remove requiretty from sudoers to actually make pipelining work

Some systems (e.g. CentOS on Azure) have requiretty in sudoers which makes
pipelining fail.
parent e5ad0836
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
- hosts: all - hosts: all
any_errors_fatal: true any_errors_fatal: true
gather_facts: false gather_facts: false
vars:
ansible_ssh_pipelining: false
roles: roles:
- bootstrap-os - bootstrap-os
tags: tags:
......
...@@ -3,4 +3,6 @@ ...@@ -3,4 +3,6 @@
when: bootstrap_os == "ubuntu" when: bootstrap_os == "ubuntu"
- include: bootstrap-coreos.yml - include: bootstrap-coreos.yml
when: bootstrap_os == "coreos" when: bootstrap_os == "coreos"
\ No newline at end of file
- include: setup-pipelining.yml
---
# Remove requiretty to make ssh pipelining work
- name: Remove require tty
lineinfile: regexp="^\w+\s+requiretty" dest=/etc/sudoers state=absent
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment