1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Mention that user_data can be a file path or a string

This commit is contained in:
Matt Martz 2014-05-21 12:25:42 -05:00
parent 70881d5489
commit 7dd5b731d2

View file

@ -136,7 +136,7 @@ options:
user_data: user_data:
description: description:
- Data to be uploaded to the servers config drive. This option implies - Data to be uploaded to the servers config drive. This option implies
I(config_drive) I(config_drive). Can be a file path or a string
version_added: 1.7 version_added: 1.7
wait: wait:
description: description:
@ -633,7 +633,8 @@ def cloudservers(module, state=None, name=None, flavor=None, image=None,
meta=meta, key_name=key_name, files=files, wait=wait, meta=meta, key_name=key_name, files=files, wait=wait,
wait_timeout=wait_timeout, disk_config=disk_config, group=group, wait_timeout=wait_timeout, disk_config=disk_config, group=group,
nics=nics, extra_create_args=extra_create_args, nics=nics, extra_create_args=extra_create_args,
user_data=user_data, config_drive=config_drive, existing=servers) user_data=user_data, config_drive=config_drive,
existing=servers)
elif state == 'absent': elif state == 'absent':
if instance_ids is None: if instance_ids is None: