table of contents
other versions
- buster 1.6.0-1
- buster-backports 1.12.2-1~bpo10+1
- testing 1.13.2-1
- unstable 1.13.3-1
Rex::Commands::Inventory(3pm) | User Contributed Perl Documentation | Rex::Commands::Inventory(3pm) |
NAME¶
Rex::Commands::Inventory - Get an inventory of your systemsDESCRIPTION¶
With this module you can get an inventory of your system.All these functions will not be reported. These functions don't modify anything.
SYNOPSIS¶
use Data::Dumper; task "inventory", "remoteserver", sub { my $inventory = inventory(); print Dumper($inventory); };
EXPORTED FUNCTIONS¶
inventory¶
This function returns a hashRef of all gathered hardware. Use the Data::Dumper module to see its structure.task "get_inventory", sub { my $inventory = inventory(); print Dumper($inventory); };
2018-02-01 | perl v5.26.1 |