- List the Minions:
salt-key -L - List the IP Addresses:
salt '*' network.ip_addrs > network-addresses.txt - List the minions mac addresses:
salt '*' network.hw_addr eth0 > mac-addresses.txt - List installed packages:
salt '*' pkg.refresh_db
salt '*' pkg.list_pkgs > packages.txt - Full list of modules:
https://docs.saltstack.com/en/latest/ref/states/all/index.html
No comments:
Post a Comment