mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
This commit is contained in:
parent
8ce2ee0ebb
commit
897c8df8d0
1 changed files with 4 additions and 0 deletions
|
@ -744,6 +744,10 @@ class TaskParameters(DockerBaseClass):
|
|||
if network.get('links'):
|
||||
network['links'] = self._parse_links(network['links'])
|
||||
|
||||
if self.mac_address:
|
||||
# Ensure the MAC address uses colons instead of hyphens for later comparison
|
||||
self.mac_address = self.mac_address.replace('-', ':')
|
||||
|
||||
if self.entrypoint:
|
||||
# convert from list to str.
|
||||
self.entrypoint = ' '.join([str(x) for x in self.entrypoint])
|
||||
|
|
Loading…
Reference in a new issue