I forgot to include my second variation:
- name: launch  Web01  instance
  hosts: csc
  tasks:
   - nova_compute:
      state: present
      login_username: tenant_2_user
      login_password: hello
      login_tenant_name: tenant_2
      name: Web01
      auth_url: http://10.0.0.32:5000/v2.0/
      region_name: RegionOne
      image_id: 95c5f4f2-84f2-47fb-a466-3c786677d21c
      wait_for: 200
      flavor_id: b772be9a-98cd-446f-879e-89baef600ff0
      security_groups: default
      auto_floating_ip: yes

This one gives me : msg: unsupported parameter for module: auto_floating_ip


On Tuesday, January 6, 2015 3:08:32 PM UTC-6, Eugene Goldberg wrote:
>
> Greetings,
> I'm trying to configure Ansible 1.9 to launch some OpenStack Nova 
> instances.
> For each instance, I'm attempting to auto-assign a floating IP, connecting 
> it to a public segment.
> When I try this:
>
> - name: launch  Web01  instance
>   hosts: csc
>   tasks:
>    - nova_compute:
>       state: present
>       login_username: tenant_2_user
>       login_password: hello
>       login_tenant_name: tenant_2
>       name: Web01
>       auth_url: http://10.0.0.32:5000/v2.0/
>       region_name: RegionOne
>       image_id: 95c5f4f2-84f2-47fb-a466-3c786677d21c
>       wait_for: 200
>       flavor_id: b772be9a-98cd-446f-879e-89baef600ff0
>       security_groups: default
>    - neutron_floating_ip:
>       state=present
>       login_username=tenant_2_user
>       login_password=hello
>       login_tenant_name=tenant_2
>       network_name=ext-net
>       instance_name=Web01
>
> I get :  ERROR: neutron_floating_ip is not a legal parameter in an Ansible 
> task or handler
>
> And when I try this:
>
> msg: unsupported parameter for module: auto_floating_ip
>
>
> Here is my Ansible version:  ansible --version
> ansible 1.9
>   configured module search path = /usr/share/ansible
>
> What can I do to have Ansible assign these floating IPs?
>
> -Eugene
>

On Tuesday, January 6, 2015 3:08:32 PM UTC-6, Eugene Goldberg wrote:
>
> Greetings,
> I'm trying to configure Ansible 1.9 to launch some OpenStack Nova 
> instances.
> For each instance, I'm attempting to auto-assign a floating IP, connecting 
> it to a public segment.
> When I try this:
>
> - name: launch  Web01  instance
>   hosts: csc
>   tasks:
>    - nova_compute:
>       state: present
>       login_username: tenant_2_user
>       login_password: hello
>       login_tenant_name: tenant_2
>       name: Web01
>       auth_url: http://10.0.0.32:5000/v2.0/
>       region_name: RegionOne
>       image_id: 95c5f4f2-84f2-47fb-a466-3c786677d21c
>       wait_for: 200
>       flavor_id: b772be9a-98cd-446f-879e-89baef600ff0
>       security_groups: default
>    - neutron_floating_ip:
>       state=present
>       login_username=tenant_2_user
>       login_password=hello
>       login_tenant_name=tenant_2
>       network_name=ext-net
>       instance_name=Web01
>
> I get :  ERROR: neutron_floating_ip is not a legal parameter in an Ansible 
> task or handler
>
> And when I try this:
>
> msg: unsupported parameter for module: auto_floating_ip
>
>
> Here is my Ansible version:  ansible --version
> ansible 1.9
>   configured module search path = /usr/share/ansible
>
> What can I do to have Ansible assign these floating IPs?
>
> -Eugene
>

-- 
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/f4152d99-52a2-4b6b-a51c-f4e94ae7e32c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to