inventory/hosts.yml contains real server IPs and usernames — it should not be tracked in git. The repository should ship a .example template that users copy and fill in.
inventory/hosts.yml to inventory/hosts.yml.example (tracked in git)inventory/hosts.yml to .gitignore(none)
server-base: Inventory file becomes a user-created instance from a templateinventory/hosts.yml gitignored (users create their own)inventory/hosts.yml.example committed as template