From 0e83384b9dd7959a6bd361edc40918102f6bae31 Mon Sep 17 00:00:00 2001 From: Sergei Bobkov Date: Thu, 19 Sep 2024 14:12:02 +0300 Subject: [PATCH] Added some editions --- README.md | 2 +- ansible/inventories/README.md | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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`