mirror of
https://github.com/ansible/awx.git
synced 2026-10-29 22:03:20 -02:30
An inventory source copies its inventory's organization only when it is created, and the API can't change it afterwards, so when an inventory moves to another organization its sources stay behind. Inventory updates copy the source's organization, so they are filed under the old organization too, and their execution environment can fall back to the old organization's default. Have Inventory.save bring its sources' organization in line whenever it is saved with organization, which also repairs sources that are already stale the next time their inventory is saved. related #16702 Assisted-by: Claude Opus 5.5 Signed-off-by: Quanah Gibson-Mount <quanah@dropbox.com>