mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Revert "switched host patterns to use sets, simplified logic which now uses buitins"
need this to be lists, for order and other considerations
This reverts commit 8e2f0b3f2c
.
This commit is contained in:
parent
88ba46aee0
commit
483c25a609
2 changed files with 6 additions and 5 deletions
|
@ -56,7 +56,7 @@ class HostVars(collections.Mapping):
|
|||
new_host.set_variable("ansible_python_interpreter", sys.executable)
|
||||
new_host.set_variable("ansible_connection", "local")
|
||||
new_host.address = '127.0.0.1'
|
||||
hosts.add(new_host)
|
||||
hosts.append(new_host)
|
||||
|
||||
for host in hosts:
|
||||
self._lookup[host.name] = host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue