module ec2_lc: EC2 Launch Configurations can't add ephemeral volumes?

201 views
Skip to first unread message

Loren Norman

unread,
Jun 22, 2014, 9:37:20 AM6/22/14
to ansible...@googlegroups.com
Hello all!

I'm new to Ansible, but I've already gotten so much done with it! I ran into a problem that I can't seem to fix, so I'm posting here to see if this is a bug.

Given the simple play:

- hosts: localhost
  connection: local
  gather_facts: no
  tasks:
    - name: Create Launch Configuration
      ec2_lc:
        name: Ansible Launch Configuration
        image_id: ami-1d8c9574
        instance_type: m3.medium
        security_groups: default
        region: us-east-1
        state: present
        volumes:
          - device_name: /dev/sda1
            device_type: standard
            volume_size: 8
            delete_on_termination: True
          - device_name: "/dev/sdb"
            ephemeral: "ephemeral0"


...I would expect to see an EBS store called /dev/sda1 and an ephemeral store called /dev/sdb on the Launch Configuration. Instead, I see only the EBS store:

Didn't want to file an issue in case I was overlooking something obvious, please help!

Michael DeHaan

unread,
Jun 23, 2014, 8:08:56 AM6/23/14
to ansible...@googlegroups.com
Perhaps, worth filing a ticket.

The docs on ephemeral don't really show usage in ec2 or ec2_lc, so I think we'd want to improve it to show how it was done.   


--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b99a4150-35be-4c47-8a70-98bd39252a9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages