diff --git a/README.md b/README.md index d341ead..c48032c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# FAST-RABBIT repo +# FAST-RABBIT collection tools and items for automation
##This repo has Ansible, Packer by HashiCorp and etc auto tools for maintenance and service IT infrastructure.
diff --git a/ansible/inventories/README.md b/ansible/inventories/README.md index dd869ac..91d1b37 100644 --- a/ansible/inventories/README.md +++ b/ansible/inventories/README.md @@ -1,13 +1,11 @@ # Inventory gets from VMVare vSphere Add it to you Ansible config file ( /root/.ansible.cfg ):
-
`[inventory]`
`enable_plugins = host_list, script, auto, yaml, ini, toml, community.vmware.vmware_vm_inventory`


For use:
-
`ansible-inventory -i /root/ansible/inventories/vmware_vm_inventory.yml --list -y --output zzz.yml`
`cat zzz.yml | grep -i "guestid" | sed 's/^ config.guestId: //' | sed 's/$.*//' | sort | uniq`