mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-03-26 21:43:02 +00:00
Merge "Allow wait: false when auto_ip is false"
This commit is contained in:
@@ -1032,7 +1032,7 @@ class ServerModule(OpenStackModule):
|
||||
|
||||
def _create(self):
|
||||
for k in ['auto_ip', 'floating_ips', 'floating_ip_pools']:
|
||||
if self.params[k] is not None \
|
||||
if self.params[k] \
|
||||
and self.params['wait'] is False:
|
||||
# floating ip addresses will only be added if
|
||||
# we wait until the server has been created
|
||||
|
||||
Reference in New Issue
Block a user