Hello,
I am using Ansible v2 and I am able to create a server on CenturyLink in a 
group "MyGroup" using the new *clc_server *module:
http://docs.ansible.com/ansible/clc_server_module.html

The problem is this: I have a group "ChildGroup" inside "ParentGroup" 
created on CenturyLink.
I am trying to create a server under "ChildGroup" - but getting the error:
*fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": 
"Unable to find group: 'ChildGroup' in location: CA3"}*

What is the correct syntax to specify nested groups as a destination for a 
server in a playbook?

I tried various combinations of 'ParentGroup/ChildGroup' or 
'ParentGroup.ChildGroup' but none works.

I am doing a very basic deployment, like this:

- name: Provision a single Ubuntu Server
  clc_server:
    name: app01
    template: ubuntu-14-appsrv
    group: 'ChildGroup'
    state: present

Thank you,

Imre

-- 
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/1a8b3932-27ce-4ac3-a783-4efdf6fa6fc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to