Skip to content
Snippets Groups Projects
Commit 1095900f authored by Jörg Sachse's avatar Jörg Sachse
Browse files

chore: add preparations for using VMware vCenter based dynamic inventory

parent 6beb8773
No related branches found
No related tags found
No related merge requests found
Pipeline #3555 passed
......@@ -8,6 +8,7 @@ vault_identity_list = ../lza_install_common.pass
# Administrators can override this by using the "-i <inventoryfile>" CLI
# argument.
inventory = ../ansible_vaults/inventory.yml
# inventory = ./inventory.vmware.yml
# Remote user name
# We DELIBERATELY set this to an non-existent non-root username to make sure
......@@ -56,6 +57,8 @@ callbacks_enabled: yaml
# Ignore these extensions when parsing a directory as inventory source.
ignore_extensions = .pyc, .pyo, .swp, .bak, ~, .rpm, .md, .txt, ~, .orig, .ini, .cfg, .retry
# enable_plugins = vmware_vm_inventory
[ssh_connection]
# Enabling pipelining reduces the number of SSH operations required to
# execute a module on the remote server. This can result in a significant
......
---
# https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_vm_inventory_inventory.html
plugin: community.vmware.vmware_vm_inventory
strict: false
hostname: "vCenter.server.fqdn"
username: 'SLUB\user_here'
password: "my_secret_password"
validate_certs: true
with_tags: true
groups:
VMs: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment