mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 14:21:30 +00:00
Remove state from central argument list
There is an old PR that shows a great use case for having a different set of states for the server module. Before the other modules start being in real use, pull this out so that we don't get ourselves into a pickle.
This commit is contained in:
@@ -77,7 +77,6 @@ def openstack_full_argument_spec(**kwargs):
|
||||
auth=dict(default=None),
|
||||
region_name=dict(default=None),
|
||||
availability_zone=dict(default=None),
|
||||
state=dict(default='present', choices=['absent', 'present']),
|
||||
wait=dict(default=True, type='bool'),
|
||||
timeout=dict(default=180, type='int'),
|
||||
endpoint_type=dict(
|
||||
|
||||
@@ -53,11 +53,6 @@ options:
|
||||
description:
|
||||
- Name of the availability zone.
|
||||
required: false
|
||||
state:
|
||||
description:
|
||||
- Should the resource be present or absent.
|
||||
choices: [present, absent]
|
||||
default: present
|
||||
wait:
|
||||
description:
|
||||
- Should ansible wait until the requested resource is complete.
|
||||
|
||||
@@ -77,7 +77,6 @@ def openstack_full_argument_spec(**kwargs):
|
||||
auth=dict(default=None),
|
||||
region_name=dict(default=None),
|
||||
availability_zone=dict(default=None),
|
||||
state=dict(default='present', choices=['absent', 'present']),
|
||||
wait=dict(default=True, type='bool'),
|
||||
timeout=dict(default=180, type='int'),
|
||||
endpoint_type=dict(
|
||||
|
||||
Reference in New Issue
Block a user