Install vcloud module for ansible

18 views
Skip to first unread message

Nicolas Santos

unread,
Jul 19, 2019, 3:38:43 PM7/19/19
to Ansible Project
Good afternoon,

I am having some issues with installing the ansible vcloud module, as I am not that experienced with importing roles maybe there is something that is not right... The module is installed in /etc/ansible/roles but when executing a playbook the role/module won't load. ¿Any ideas what can it be?

Thank you ahead of time for any help you can give.

Jonathan Lozada De La Matta

unread,
Jul 19, 2019, 3:42:31 PM7/19/19
to ansible...@googlegroups.com
Nicolas,

Can you show the errors and tasks?

Este mensaje es confidencial. Si usted ha recibido este correo por error, por favor, comuníquelo de inmediato al remitente y elimínelo de su sistema. No deberá divulgar, distribuir o copiar su contenido. Muchas gracias. 

This message is confidential. If you have received it by mistake, please let the sender know immediately and delete it from your system. You should not disclose the message nor distribute or copy its content. Thank you.

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9565b134-cc3c-4b31-ace6-6337b425d4bb%40googlegroups.com.


--

Jonathan Cha'gara Lozada De La Matta

He / Him / His

Automation Practice

Senior Automation Consultant & Automation CoP Manager

Red Hat


 

Nicolas Santos

unread,
Jul 19, 2019, 3:44:32 PM7/19/19
to Ansible Project
Yes, here it is

---
- hosts: localhost
  remote_user: root

  tasks:
    - import_role:
        name: user
        defaults_from: /etc/ansible/roles
        tasks_from:  /etc/ansible/roles/user/tasks
        vars_from: /etc/ansible/roles/user/vars
  vcd_user:
     user: user
     password: password
     host: host
     org: org
     username: test
     userpassword: 123456
     role_name: Organization Administrator
     stored_vm_quota: 1
     deployed_vm_quota: 1
     is_enabled: True
     state: present
~

El viernes, 19 de julio de 2019, 16:42:31 (UTC-3), Jonathan Lozada De La Matta escribió:
Nicolas,

Can you show the errors and tasks?

On Fri, Jul 19, 2019 at 3:38 PM Nicolas Santos <nsa...@ceibal.edu.uy> wrote:
Good afternoon,

I am having some issues with installing the ansible vcloud module, as I am not that experienced with importing roles maybe there is something that is not right... The module is installed in /etc/ansible/roles but when executing a playbook the role/module won't load. ¿Any ideas what can it be?

Thank you ahead of time for any help you can give.


Este mensaje es confidencial. Si usted ha recibido este correo por error, por favor, comuníquelo de inmediato al remitente y elimínelo de su sistema. No deberá divulgar, distribuir o copiar su contenido. Muchas gracias. 

This message is confidential. If you have received it by mistake, please let the sender know immediately and delete it from your system. You should not disclose the message nor distribute or copy its content. Thank you.

--
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...@googlegroups.com.

Jonathan Lozada De La Matta

unread,
Jul 19, 2019, 3:47:55 PM7/19/19
to ansible...@googlegroups.com
what is the error?

To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4aff88e9-7bbc-4084-b7c0-aa3d0bcb1ef5%40googlegroups.com.

Nicolas Santos

unread,
Jul 19, 2019, 3:48:46 PM7/19/19
to Ansible Project
ERROR! 'vcd_user' is not a valid attribute for a Play

Nicolas Santos

unread,
Jul 19, 2019, 4:00:41 PM7/19/19
to Ansible Project
ERROR! 'vcd_user' is not a valid attribute for a Play

what is the error?

Reply all
Reply to author
Forward
0 new messages