Last active
January 22, 2019 13:40
-
-
Save richardsonlima/384fcbeb3201278a9731495dcd77d3cf 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
cat inventory/hosts.ini|awk '{print substr($2,14);}' | |
for host in $(cat inventory/hosts.ini|awk '{print substr($2,14);}'); | |
do echo -e '\033[1;32m [+] host \033[0m'$host && ssh-copy-id user@$host; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment