7 lines
92 B
Bash
Executable file
7 lines
92 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
HOSTS="$1"
|
|
CMD="$2"
|
|
|
|
ansible -b -u ansible -m shell -a "$CMD" "$HOSTS"
|