Added some editions
This commit is contained in:
parent
4b1b66c54a
commit
0e83384b9d
@ -1,4 +1,4 @@
|
|||||||
# FAST-RABBIT repo
|
# FAST-RABBIT collection tools and items for automation
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
##This repo has Ansible, Packer by HashiCorp and etc auto tools for maintenance and service IT infrastructure.<br/>
|
##This repo has Ansible, Packer by HashiCorp and etc auto tools for maintenance and service IT infrastructure.<br/>
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
# Inventory gets from VMVare vSphere
|
# Inventory gets from VMVare vSphere
|
||||||
Add it to you Ansible config file ( /root/.ansible.cfg ):<br/>
|
Add it to you Ansible config file ( /root/.ansible.cfg ):<br/>
|
||||||
<br/>
|
|
||||||
|
|
||||||
`[inventory]`<br/>
|
`[inventory]`<br/>
|
||||||
`enable_plugins = host_list, script, auto, yaml, ini, toml, community.vmware.vmware_vm_inventory`<br/>
|
`enable_plugins = host_list, script, auto, yaml, ini, toml, community.vmware.vmware_vm_inventory`<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
For use:<br/>
|
For use:<br/>
|
||||||
<br/>
|
|
||||||
|
|
||||||
`ansible-inventory -i /root/ansible/inventories/vmware_vm_inventory.yml --list -y --output zzz.yml`<br/>
|
`ansible-inventory -i /root/ansible/inventories/vmware_vm_inventory.yml --list -y --output zzz.yml`<br/>
|
||||||
`cat zzz.yml | grep -i "guestid" | sed 's/^ config.guestId: //' | sed 's/$.*//' | sort | uniq`<br/>
|
`cat zzz.yml | grep -i "guestid" | sed 's/^ config.guestId: //' | sed 's/$.*//' | sort | uniq`<br/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user