summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-11 07:26:57 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-11 07:26:57 +0200
commit291b6e4aa17c782c812b8c23d13163ec4fed39d3 (patch)
tree882ff177540321801333fae40dcce16991e66016
parentaefa08242ad41edc3ebfb7fb532dc65bcdd284d0 (diff)
downloadipmiboot-291b6e4aa17c782c812b8c23d13163ec4fed39d3.tar.gz
ipmiboot-291b6e4aa17c782c812b8c23d13163ec4fed39d3.tar.bz2
ipmiboot-291b6e4aa17c782c812b8c23d13163ec4fed39d3.tar.xz
ipmiboot-291b6e4aa17c782c812b8c23d13163ec4fed39d3.zip
run commands with parameters
-rwxr-xr-xipmi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipmi.sh b/ipmi.sh
index 06fdd29..6616239 100755
--- a/ipmi.sh
+++ b/ipmi.sh
@@ -32,7 +32,7 @@ function run {
(
cd $itm || { echo "ITM (Ansible scripts) are not found"; exit 1; }
- ansible all -b -u root --vault-password-file=.vault-pass -i inventories/ipe.erb -l $hosts -a "'$@'"
+ eval ansible all -b -u root --vault-password-file=.vault-pass -i inventories/ipe.erb -l $hosts --args="'$@'"
)
}