Skip to content

ansible-up inventory_repo_dir not used

inventory_repo_dir="{{ inventory_repo_dir }}" https://salsa.debian.org/debconf-video-team/ansible/-/blob/master/roles/pxe/tftp-server/files/scripts/ansible-up#L17

that var is never used.

this line defines reality: INVENTORY=$INV/inventory/hosts

"inventory" is hard coded, so having a var somewhere else is pointless and confusing.

There is currently no way for the usb_install to pass inventory_repo_dir, so it relies on the hard coded "inventory"