Hi guys,
I am launching this playbook but it does not give an error and it does not
do what it is supposed to do.
How can I debug the error?
- name: Customize Domain
vmware_vm_shell:
hostname: '{{ VCENTER }}'
username: '{{ DOMAIN_VCENTER }}\user'
password: '*********'
datacenter: '{{ DATACENTER }}'
folder: '/{{ DATACENTER }}/vm'
validate_certs: no
vm_id: '{{ NOMBRE }}'
vm_id_type: vm_name
vm_username: 'adm'
vm_password: 'temporal'
vm_shell_cwd: 'c:\temp\'
vm_shell: 'c:\windows\system32\wbem\wmic.exe'
vm_shell_args: 'ComputerSystem where name={{ NOMBRE }} call
joindomainorworkgroup fjoinoptions=3 name={{ DOMINIO }}.$
register: value
async: 600
poll: 5
tags:
- auto
- name : debug
debug:
var: value
verbosity: 3
tags:
- auto
Return:
TASK [Customize Domain username={{ DOMAIN_VCENTER }}\adm, datacenter={{
DATACENTER }}, vm_password=temporal, vm_shell_cwd=c:\temp\,
vm_shell_args=ComputerSystem where name={{ NOMBRE }} call
joindomainorworkgroup fjoinoptions=3 name={{ DOMINIO }}.domain.local
username={{ DOMINIO }}.domain\adm Password=*******, hostname={{ VCENTER }},
vm_username=adm, vm_shell=c:\windows\system32\wbem\wmic.exe,
validate_certs=False, vm_id_type=vm_name, folder=/{{ DATACENTER }}/vm,
password=*******, vm_id={{ NOMBRE }}] ***
task path: /etc/ansible/playbooks/vCenter/Despliegue.yml:148
changed: [localhost] => {"ansible_job_id": "503299328214.47633", "changed":
true, "finished": 1, "msg": 2500, "uuid":
"423c4b0f-3dd5-b3b3-6adc-23314cc4054c"}
TASK [debug var=value, verbosity=3]
*****************************************************************************************
task path: /etc/ansible/playbooks/vCenter/Despliegue.yml:169
skipping: [localhost] => {"skipped_reason": "Verbosity threshold not met."}
META: ran handlers
META: ran handlers
--
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/7ac713f7-e86d-4977-9c90-d406b4a05aa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.