From 6aaee426044ee7592a221eed34d8f737d6e1d8df Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Tue, 9 Feb 2016 07:49:55 -0600 Subject: [PATCH] Add user_data alias for userdata in os_server The old nova_compute module called the parameter user_data - having an alias to the old name is friendly. Fixes Issue #2920 --- lib/ansible/modules/cloud/openstack/os_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/openstack/os_server.py b/lib/ansible/modules/cloud/openstack/os_server.py index 446315310c7..a8c7f67c329 100644 --- a/lib/ansible/modules/cloud/openstack/os_server.py +++ b/lib/ansible/modules/cloud/openstack/os_server.py @@ -545,7 +545,7 @@ def main(): network = dict(default=None), nics = dict(default=[], type='list'), meta = dict(default=None), - userdata = dict(default=None), + userdata = dict(default=None, aliases=['user_data']), config_drive = dict(default=False, type='bool'), auto_ip = dict(default=True, type='bool', aliases=['auto_floating_ip', 'public_ip']), floating_ips = dict(default=None),