Created
October 2, 2014 13:27
-
-
Save dpkirchner/c5092daa208df081fc25 to your computer and use it in GitHub Desktop.
Playbook that demonstrates ssh pipelining not working as expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Make a host list | |
hosts: localhost | |
gather_facts: no | |
connection: local | |
tasks: | |
- name: add host | |
add_host: hostname=1.2.3.4 groupname=foo | |
- name: Do the do | |
hosts: foo | |
connection: ssh | |
gather_facts: no | |
sudo: yes | |
remote_user: dpk | |
tasks: | |
- name: thing one | |
copy: src=/etc/passwd dest=/tmp/passwd | |
- name: thing two | |
copy: src=/etc/hosts dest=/tmp/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment