From 291b6e4aa17c782c812b8c23d13163ec4fed39d3 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 11 Oct 2019 07:26:57 +0200 Subject: run commands with parameters --- ipmi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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="'$@'" ) } -- cgit v1.2.3