Merge "Explicitly add localhost to inventory.ini"

This commit is contained in:
Zuul 2023-11-10 12:15:37 +00:00 committed by Gerrit Code Review
commit fb3a6964fc
2 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,9 @@
## a reference for deployers, allowing them
## to extend how they like it.
[all]
localhost ansible_connection=local
# hosts is an ansible reserved term.
# We should move away from it, but in between
# we keep this for compatibility reasons.

View File

@ -0,0 +1,7 @@
---
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``