github.com/jlmeeker/kismatic@v1.10.1-0.20180612190640-57f9005a1f1a/ansible/roles/all/tasks/main.yaml (about)

     1  ---
     2  - name: Install python 2.7
     3    script: python27.sh
     4  
     5  - name: detect SSH pipelining support
     6    shell: grep --extended-regexp "^\w+\s+requiretty" /etc/sudoers || echo "string not found"
     7    register: requiretty
     8  
     9  - name: enable SSH pipelining
    10    set_fact:
    11      ansible_ssh_pipelining: yes
    12    when: requiretty.stdout == "string not found"