Commit 0b8773fc by Monty Taylor

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.
parent d06a277b
...@@ -77,7 +77,6 @@ def openstack_full_argument_spec(**kwargs): ...@@ -77,7 +77,6 @@ def openstack_full_argument_spec(**kwargs):
auth=dict(default=None), auth=dict(default=None),
region_name=dict(default=None), region_name=dict(default=None),
availability_zone=dict(default=None), availability_zone=dict(default=None),
state=dict(default='present', choices=['absent', 'present']),
wait=dict(default=True, type='bool'), wait=dict(default=True, type='bool'),
timeout=dict(default=180, type='int'), timeout=dict(default=180, type='int'),
endpoint_type=dict( endpoint_type=dict(
......
...@@ -53,11 +53,6 @@ options: ...@@ -53,11 +53,6 @@ options:
description: description:
- Name of the availability zone. - Name of the availability zone.
required: false required: false
state:
description:
- Should the resource be present or absent.
choices: [present, absent]
default: present
wait: wait:
description: description:
- Should ansible wait until the requested resource is complete. - Should ansible wait until the requested resource is complete.
......
...@@ -77,7 +77,6 @@ def openstack_full_argument_spec(**kwargs): ...@@ -77,7 +77,6 @@ def openstack_full_argument_spec(**kwargs):
auth=dict(default=None), auth=dict(default=None),
region_name=dict(default=None), region_name=dict(default=None),
availability_zone=dict(default=None), availability_zone=dict(default=None),
state=dict(default='present', choices=['absent', 'present']),
wait=dict(default=True, type='bool'), wait=dict(default=True, type='bool'),
timeout=dict(default=180, type='int'), timeout=dict(default=180, type='int'),
endpoint_type=dict( endpoint_type=dict(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment