8 lines
139 B
Bash
Executable file
8 lines
139 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
HOSTS="$1"
|
|
CMD="$2"
|
|
|
|
ansible -u ansible -m shell -a "$CMD" \
|
|
--become --ask-become-pass --ask-vault-pass "$HOSTS"
|