Skip to content

Commit

Permalink
Get serial number and expand machines which are queried
Browse files Browse the repository at this point in the history
  • Loading branch information
gdevenyi committed Oct 2, 2024
1 parent 919a758 commit 35976f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/bios_mobo_versions.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ansible -v -b -m shell -a 'echo $(hostname),$(lshw -json | jq ".children[0].product"),$(lshw -json | jq ".children[0].children[0].version")' all | grep -E '(cic|dnp)ws[0-9]+,'
ansible -v -b -m shell -a 'echo $(hostname),$(lshw -json | jq ".children[0].product"),$(lshw -json | jq ".children[0].children[0].version"),$(lshw -json | jq ".children[0].serial")' all | grep -E -o '(cic|dnp)(ws|cs)[0-9]+,.*' | sort

0 comments on commit 35976f5

Please sign in to comment.