Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17764

Use ansible to copy files without modern version of python?

$
0
0

I want to take advantage of ansible's cached authentication to copy configuration files from a bunch to the local host, but this select set of servers don't have a python new enough run any modules except the raw module on the remote host (no fetch module).

These files are will never me more than 1kb. Can I either capture the whole file as a variable and write the variable to a file, or scp the file over an open ssh session?

submitted by /u/Oflameo
[link] [comments]

Viewing all articles
Browse latest Browse all 17764

Trending Articles