Last active
January 18, 2018 19:44
-
-
Save perlpunk/cd95822f46cce55e7a0bade78809617e to your computer and use it in GitHub Desktop.
This file contains hidden or 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: run a command and save lines | |
| command: ls -l *.yaml | |
| register: files | |
| - name: copy files | |
| copy: | |
| src: "{{ item }}" | |
| dest: /path/{{ item }} | |
| with_items: files.stdout_lines |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment