Dear all:
please help me thanks.
- name: Create New EBS volume
ec2_vol:
aws_access_key: "{{ aws_access_key }}"
aws_secret_key: "{{ aws_secret_key }}"
instance_id: "{{ instance_id }}"
volume_size: "{{ volume_size }}"
device_name: "{{ device_name}}"
region: "{{ region }}"
volume_type: "{{ volume_type }}"
register: ec2_vol
[WARNING]: Found variable using reserved name: name
PLAY [localhost]
************************************************************************
TASK [Create Snapshot EC2]
**************************************************************
changed: [localhost]
TASK [Create New EBS volume]
************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unsupported
parameters for (ec2_vol) module: instance_id Supported parameters include:
aws_access_key, aws_secret_key, debug_botocore_endpoint_logs,
delete_on_termination, device_name, ec2_url, encrypted, id, instance, iops,
kms_key_id, name, profile, region, security_token, snapshot, state, tags,
validate_certs, volume_size, volume_type, zone"}
PLAY RECAP
******************************************************************************
localhost : ok=1 changed=1 unreachable=0
failed=1 skipped=0 rescued=0 ignored=0
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/b2a1e0d2-5c8f-4668-8131-821792d23f4a%40googlegroups.com.