mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-08 06:13:13 +00:00
Ensure defaults match spec
Change-Id: Ie5c499d7e035a0e9c3ac32e5dc5d57151c1745ed
This commit is contained in:
@@ -59,7 +59,7 @@ options:
|
|||||||
description:
|
description:
|
||||||
- Whether the image can be accessed publicly. Note that publicizing an image requires admin role by default.
|
- Whether the image can be accessed publicly. Note that publicizing an image requires admin role by default.
|
||||||
type: bool
|
type: bool
|
||||||
default: 'yes'
|
default: false
|
||||||
protected:
|
protected:
|
||||||
description:
|
description:
|
||||||
- Prevent image from being deleted
|
- Prevent image from being deleted
|
||||||
|
|||||||
@@ -38,19 +38,22 @@ options:
|
|||||||
- Text to use to filter image names, for the case, such as HP, where
|
- Text to use to filter image names, for the case, such as HP, where
|
||||||
there are multiple image names matching the common identifying
|
there are multiple image names matching the common identifying
|
||||||
portions. image_exclude is a negative match filter - it is text that
|
portions. image_exclude is a negative match filter - it is text that
|
||||||
may not exist in the image name. Defaults to "(deprecated)"
|
may not exist in the image name.
|
||||||
type: str
|
type: str
|
||||||
|
default: "(deprecated)"
|
||||||
flavor:
|
flavor:
|
||||||
description:
|
description:
|
||||||
- The name or id of the flavor in which the new instance has to be
|
- The name or id of the flavor in which the new instance has to be
|
||||||
created. Mutually exclusive with flavor_ram
|
created.
|
||||||
default: 1
|
- Exactly one of I(flavor) and I(flavor_ram) must be defined when
|
||||||
|
I(state=present).
|
||||||
type: str
|
type: str
|
||||||
flavor_ram:
|
flavor_ram:
|
||||||
description:
|
description:
|
||||||
- The minimum amount of ram in MB that the flavor in which the new
|
- The minimum amount of ram in MB that the flavor in which the new
|
||||||
instance has to be created must have. Mutually exclusive with flavor.
|
instance has to be created must have.
|
||||||
default: 1
|
- Exactly one of I(flavor) and I(flavor_ram) must be defined when
|
||||||
|
I(state=present).
|
||||||
type: int
|
type: int
|
||||||
flavor_include:
|
flavor_include:
|
||||||
description:
|
description:
|
||||||
@@ -68,6 +71,7 @@ options:
|
|||||||
- Names of the security groups to which the instance should be
|
- Names of the security groups to which the instance should be
|
||||||
added. This may be a YAML list or a comma separated string.
|
added. This may be a YAML list or a comma separated string.
|
||||||
type: list
|
type: list
|
||||||
|
default: ['default']
|
||||||
network:
|
network:
|
||||||
description:
|
description:
|
||||||
- Name or ID of a network to attach this instance to. A simpler
|
- Name or ID of a network to attach this instance to. A simpler
|
||||||
@@ -633,7 +637,7 @@ class ServerModule(OpenStackModule):
|
|||||||
auto_ip=dict(default=True, type='bool', aliases=['auto_floating_ip', 'public_ip']),
|
auto_ip=dict(default=True, type='bool', aliases=['auto_floating_ip', 'public_ip']),
|
||||||
floating_ips=dict(default=None, type='list'),
|
floating_ips=dict(default=None, type='list'),
|
||||||
floating_ip_pools=dict(default=None, type='list'),
|
floating_ip_pools=dict(default=None, type='list'),
|
||||||
volume_size=dict(default=False, type='int'),
|
volume_size=dict(default=None, type='int'),
|
||||||
boot_from_volume=dict(default=False, type='bool'),
|
boot_from_volume=dict(default=False, type='bool'),
|
||||||
boot_volume=dict(default=None, aliases=['root_volume']),
|
boot_volume=dict(default=None, aliases=['root_volume']),
|
||||||
terminate_volume=dict(default=False, type='bool'),
|
terminate_volume=dict(default=False, type='bool'),
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ options:
|
|||||||
description:
|
description:
|
||||||
- Rollback stack creation
|
- Rollback stack creation
|
||||||
type: bool
|
type: bool
|
||||||
default: 'yes'
|
default: false
|
||||||
timeout:
|
timeout:
|
||||||
description:
|
description:
|
||||||
- Maximum number of seconds to wait for the stack creation
|
- Maximum number of seconds to wait for the stack creation
|
||||||
|
|||||||
@@ -1,13 +1,9 @@
|
|||||||
plugins/module_utils/openstack.py future-import-boilerplate
|
plugins/module_utils/openstack.py future-import-boilerplate
|
||||||
plugins/module_utils/openstack.py metaclass-boilerplate
|
plugins/module_utils/openstack.py metaclass-boilerplate
|
||||||
plugins/modules/os_image.py validate-modules:doc-choices-do-not-match-spec
|
plugins/modules/os_image.py validate-modules:doc-choices-do-not-match-spec
|
||||||
plugins/modules/os_image.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_ironic.py validate-modules:doc-choices-do-not-match-spec
|
plugins/modules/os_ironic.py validate-modules:doc-choices-do-not-match-spec
|
||||||
plugins/modules/os_quota.py validate-modules:doc-choices-do-not-match-spec
|
plugins/modules/os_quota.py validate-modules:doc-choices-do-not-match-spec
|
||||||
plugins/modules/os_quota.py validate-modules:return-syntax-error
|
plugins/modules/os_quota.py validate-modules:return-syntax-error
|
||||||
plugins/modules/os_server.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_server_action.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_stack.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_subnet.py validate-modules:doc-choices-do-not-match-spec
|
plugins/modules/os_subnet.py validate-modules:doc-choices-do-not-match-spec
|
||||||
plugins/doc_fragments/openstack.py future-import-boilerplate
|
plugins/doc_fragments/openstack.py future-import-boilerplate
|
||||||
plugins/doc_fragments/openstack.py metaclass-boilerplate
|
plugins/doc_fragments/openstack.py metaclass-boilerplate
|
||||||
|
|||||||
@@ -1,16 +1,10 @@
|
|||||||
plugins/module_utils/openstack.py future-import-boilerplate
|
plugins/module_utils/openstack.py future-import-boilerplate
|
||||||
plugins/module_utils/openstack.py metaclass-boilerplate
|
plugins/module_utils/openstack.py metaclass-boilerplate
|
||||||
plugins/modules/os_flavor_info.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_image.py validate-modules:doc-choices-do-not-match-spec
|
plugins/modules/os_image.py validate-modules:doc-choices-do-not-match-spec
|
||||||
plugins/modules/os_image.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_ironic.py validate-modules:doc-choices-do-not-match-spec
|
plugins/modules/os_ironic.py validate-modules:doc-choices-do-not-match-spec
|
||||||
plugins/modules/os_ironic_node.py validate-modules:doc-choices-do-not-match-spec
|
plugins/modules/os_ironic_node.py validate-modules:doc-choices-do-not-match-spec
|
||||||
plugins/modules/os_ironic_node.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_quota.py validate-modules:doc-choices-do-not-match-spec
|
plugins/modules/os_quota.py validate-modules:doc-choices-do-not-match-spec
|
||||||
plugins/modules/os_quota.py validate-modules:return-syntax-error
|
plugins/modules/os_quota.py validate-modules:return-syntax-error
|
||||||
plugins/modules/os_server.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_server_action.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_stack.py validate-modules:doc-default-does-not-match-spec
|
|
||||||
plugins/modules/os_subnet.py validate-modules:doc-choices-do-not-match-spec
|
plugins/modules/os_subnet.py validate-modules:doc-choices-do-not-match-spec
|
||||||
plugins/doc_fragments/openstack.py future-import-boilerplate
|
plugins/doc_fragments/openstack.py future-import-boilerplate
|
||||||
plugins/doc_fragments/openstack.py metaclass-boilerplate
|
plugins/doc_fragments/openstack.py metaclass-boilerplate
|
||||||
|
|||||||
Reference in New Issue
Block a user