diff --git a/lib/ansible/modules/cloud/rackspace/rax_cbs_attachments.py b/lib/ansible/modules/cloud/rackspace/rax_cbs_attachments.py index 8661d736768..74e4dac6701 100644 --- a/lib/ansible/modules/cloud/rackspace/rax_cbs_attachments.py +++ b/lib/ansible/modules/cloud/rackspace/rax_cbs_attachments.py @@ -33,7 +33,7 @@ options: description: - The device path to attach the volume to, e.g. /dev/xvde default: null - required: true + required: false volume: description: - Name or id of the volume to attach/detach @@ -189,7 +189,7 @@ def main(): argument_spec = rax_argument_spec() argument_spec.update( dict( - device=dict(required=True), + device=dict(required=False), volume=dict(required=True), server=dict(required=True), state=dict(default='present', choices=['present', 'absent']),