From be8adaf1bd6d075d2fb752fee25d7448fe8e87fd Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sat, 22 Feb 2020 01:32:53 +0100 Subject: Don't gather hardware info if we are just updating (since some IPMI devices may cause hang during the scanning with sg_inq) --- ipmi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipmi.sh b/ipmi.sh index 6616239..37b711c 100755 --- a/ipmi.sh +++ b/ipmi.sh @@ -22,7 +22,7 @@ function update { ( cd $itm || { echo "ITM (Ansible scripts) are not found"; exit 1; } - ansible-playbook --vault-password-file=.vault-pass -i inventories/ipe.erb -l $hosts "update.yml" "$@" + ANSIBLE_GATHER_SUBSET="!hardware" ansible-playbook --vault-password-file=.vault-pass -i inventories/ipe.erb -l $hosts "update.yml" "$@" ) } -- cgit v1.2.1