openstack-ansible/releasenotes/notes/explicit-localhost-inventory-96c5b0b28e23a066.yaml
Damian Dabrowski 8f3c02d2da Explicitly add localhost to inventory.ini
Because implicit localhost is not a part of 'all' or any other group,
playbooks executed with '--limit' may not take it into account.
The problem was extensively described in bug #2041717.

This change explicitly adds localhost to OSA inventory to avoid
unexpected behavior.

Closes-Bug: #2041717
Change-Id: Ib44ed22d7132b42a4185a91f12c66ced5a1a6209
2023-11-01 00:32:57 +00:00

7 lines
259 B
YAML

---
other:
- |
The ``localhost`` target was explicitly added to OSA inventory due to bug
#2041717. As a result, the 'all' group now contains localhost, and
custom playbooks targeting 'all' may need adjustment, e.g.:
``hosts: all:!localhost``