From 58c39f47c1c6a4d01e829768f5c3096dce0384ac Mon Sep 17 00:00:00 2001 From: Alberto Gireud Date: Thu, 17 Dec 2015 07:17:44 -0600 Subject: [PATCH] Update root_volume variable --- lib/ansible/modules/cloud/openstack/os_server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/cloud/openstack/os_server.py b/lib/ansible/modules/cloud/openstack/os_server.py index b5eaa756985..6dd01556ef6 100644 --- a/lib/ansible/modules/cloud/openstack/os_server.py +++ b/lib/ansible/modules/cloud/openstack/os_server.py @@ -571,14 +571,14 @@ def main(): state = module.params['state'] image = module.params['image'] - root_volume = module.params['root_volume'] + boot_volume = module.params['boot_volume'] flavor = module.params['flavor'] flavor_ram = module.params['flavor_ram'] if state == 'present': - if not (image or root_volume): + if not (image or boot_volume): module.fail_json( - msg="Parameter 'image' or 'root_volume' is required " + msg="Parameter 'image' or 'boot_volume' is required " "if state == 'present'" ) if not flavor and not flavor_ram: