os_server, doc: add version added for delete_fip

Also see #3509
This commit is contained in:
Rene Moser 2016-07-11 08:40:32 +02:00
parent 3979faf3e5
commit 45845e0bdc

View file

@ -184,6 +184,7 @@ options:
associated with the instance will be deleted along with the instance.
required: false
default: false
version_added: "2.2"
requirements:
- "python >= 2.6"
- "shade"
@ -437,11 +438,11 @@ def _create_server(module, cloud):
if flavor:
flavor_dict = cloud.get_flavor(flavor)
if not flavor_dict:
module.fail_json(msg="Could not find flavor %s" % flavor)
module.fail_json(msg="Could not find flavor %s" % flavor)
else:
flavor_dict = cloud.get_flavor_by_ram(flavor_ram, flavor_include)
if not flavor_dict:
module.fail_json(msg="Could not find any matching flavor")
module.fail_json(msg="Could not find any matching flavor")
nics = _network_args(module, cloud)