diff --git a/lib/ansible/modules/extras/cloud/openstack/os_project.py b/lib/ansible/modules/extras/cloud/openstack/os_project.py index b159264ebd4..b900d42f164 100644 --- a/lib/ansible/modules/extras/cloud/openstack/os_project.py +++ b/lib/ansible/modules/extras/cloud/openstack/os_project.py @@ -156,7 +156,7 @@ def main(): name = module.params['name'] description = module.params['description'] - domain = module.params['domain_id'] + domain = module.params.pop('domain_id') enabled = module.params['enabled'] state = module.params['state']