diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2020-02-22 01:32:53 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2020-02-22 01:32:53 +0100 |
commit | be8adaf1bd6d075d2fb752fee25d7448fe8e87fd (patch) | |
tree | 9b2414a85fd8e8c119bc0a8854326de47c1375c1 | |
parent | 291b6e4aa17c782c812b8c23d13163ec4fed39d3 (diff) | |
download | ipmiboot-be8adaf1bd6d075d2fb752fee25d7448fe8e87fd.tar.gz ipmiboot-be8adaf1bd6d075d2fb752fee25d7448fe8e87fd.tar.bz2 ipmiboot-be8adaf1bd6d075d2fb752fee25d7448fe8e87fd.tar.xz ipmiboot-be8adaf1bd6d075d2fb752fee25d7448fe8e87fd.zip |
Don't gather hardware info if we are just updating (since some IPMI devices may cause hang during the scanning with sg_inq)
-rwxr-xr-x | ipmi.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" "$@" ) } |