Created
June 4, 2018 14:16
-
-
Save rcbop/74905380db0b8112413fbee4bf4c4bb5 to your computer and use it in GitHub Desktop.
bruteforce become ansible module, use as BECOME METHOD
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
#!/bin/bash | |
cmd='' | |
for i in "$@"; do | |
i="${i//\\/\\\\}" | |
cmd="$cmd \"${i//\"/\\\"}\"" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment