I am trying to detach EBS volume:

*--- # Ansible role to detach EBS Volume*
*  - name: Detach AWS EBS Volume*
*    ec2_vol:*
*      aws_access_key: '{{ AwsAccesskey }}'*
*      aws_secret_key: '{{ AwsSecretkey }}'*
*      region: '{{ region  }}'*
*      id: '{{ item }}'*
*      instance: None*
*    with_items: "{{ awsebsid }}"*
*...*

It is not able to detach EBS volume if it is mounted. Please, can you 
suggest how to force or detach EBS volume? I understand it is best practice 
to unmount the volume from OS before detaching but is it compulsory?


-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9546e836-f741-40ca-8153-472c66ddefaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to