From 5e3249b2442d2715243db9b360977d090df0cfbe Mon Sep 17 00:00:00 2001 From: Rene Moser Date: Mon, 11 Jul 2016 08:40:32 +0200 Subject: [PATCH] os_server, doc: add version added for delete_fip Also see #3509 --- lib/ansible/modules/cloud/openstack/os_server.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/openstack/os_server.py b/lib/ansible/modules/cloud/openstack/os_server.py index 885cca5093a..7f019623aab 100644 --- a/lib/ansible/modules/cloud/openstack/os_server.py +++ b/lib/ansible/modules/cloud/openstack/os_server.py @@ -186,6 +186,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" @@ -439,11 +440,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)