mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
changed ansible-test so that it replaces . with - instead of . with _ so that the hostname is valid
This commit is contained in:
parent
5c0c985547
commit
0a6dcf4169
2 changed files with 2 additions and 2 deletions
|
@ -327,7 +327,7 @@ def network_inventory(remotes):
|
|||
|
||||
groups[remote.platform].append(
|
||||
'%s %s' % (
|
||||
remote.name.replace('.', '_'),
|
||||
remote.name.replace('.', '-'),
|
||||
' '.join('%s="%s"' % (k, options[k]) for k in sorted(options)),
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue