diff --git a/playbooks/discover_guests.yml b/playbooks/discover_guests.yml index 6884a09..1af8158 100644 --- a/playbooks/discover_guests.yml +++ b/playbooks/discover_guests.yml @@ -11,7 +11,8 @@ # # Extra vars (optional): # adopt - default false -# lan_prefix - prefix of the LAN, used to pick the right address (default 192.168.2.) +# lan_prefix - address prefix that counts as the LAN; used to pick the right address +# when a guest has several (default 192.168., i.e. any lab subnet) # adopt_ssh_key - public key to push (default: the ansible-key from bootstrap_lxc.yml) - name: Discover Proxmox guests not in inventory @@ -21,7 +22,7 @@ vars: adopt: false - lan_prefix: "192.168.2." + lan_prefix: "192.168." lan_regex: "^{{ lan_prefix | regex_escape }}" adopt_ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINegitHaQG8i+s412h3wTWf/KvpeX1CEpYFva9MhHR+7 ansible-key" # pct "ostype" -> inventory group