[ansible-project] Transfer a file from a virtual machine managed by a Vmware Vcenter server to Ansible controller using ansible.

2017-03-28 Thread Mick st john
I am trying to copy a file from a virtual machine which is managed by a vCenter server to my Ansible controller. I don't want to use "fetch" module as it needs SSH connectivity. Is there any way I *could transfer a file by not using fetch(SSH).* I've been through some modules like* vsphere_gues

[ansible-project] Error while deploying virtual machine from a template on VMware VCenter Server. Cannot complete login due to an incorrect user name or password.

2017-01-05 Thread Mick st john
ANSIBLE VERSION USED: 2.2.0 I am trying to deploy a virtual machine from a template that is already present on an ESX which is managed by a VCenter Server. I'm getting the following error after the execution of my playbook: "Cannot connect to x.x.x.x: [InvalidLoginFault]: Cannot complete login

[ansible-project] How to configure Vyatta router using ansible 2.0 version?

2016-10-05 Thread Mick st john
I am trying to configure vyatta router using modules provided by ansible 2.0 version. However, the commands such as "configure" are not supported by shell module as it is the configure command is not executed from /bin/sh. I am aware of the fact that ansible latest version 2.2 has a "vyos" modul

[ansible-project] Failed to ping linux machine having python version 3.5.1

2016-05-18 Thread Mick st john
I am trying to ping a linux machine having python version 3.5.1+, but I am facing the following error. ansible -m ping linux1 1.1.1.2 | FAILED! => { "changed": false, "failed": true, "msg": "Traceback (most recent call last):\r\n File \"//test/log/tmp/ansible-tmp-1463555484.41-

[ansible-project] Re: Copy files from windows machine to linux machine using ansible

2016-04-25 Thread Mick st john
I used flat=yes and the issue is now resolved. Thank you! On Tuesday, April 26, 2016 at 9:43:06 AM UTC+5:30, Mick st john wrote: > > I did some changes and it worked. But, the whole directory is getting > created on the linux machine which has the desired file. > > > On Tuesd

[ansible-project] Re: Copy files from windows machine to linux machine using ansible

2016-04-25 Thread Mick st john
I did some changes and it worked. But, the whole directory is getting created on the linux machine which has the desired file. On Tuesday, April 26, 2016 at 9:34:12 AM UTC+5:30, Mick st john wrote: > > I tried the following playbook: > > --- > - hosts: windows > tasks: &

[ansible-project] Re: Copy files from windows machine to linux machine using ansible

2016-04-25 Thread Mick st john
; Hope this helps, > > Jon > > > On Monday, April 25, 2016 at 3:06:04 PM UTC+1, Mick st john wrote: >> >> I trying to copy files from a remote windows machine to my local >> machine(linux machine) using ansible. As fetch module works for linux to >> linux file t

[ansible-project] Copy files from windows machine to linux machine using ansible

2016-04-25 Thread Mick st john
I trying to copy files from a remote windows machine to my local machine(linux machine) using ansible. As fetch module works for linux to linux file transfer, is there anything similar that could enable me to fetch files from windows machine to linux machine? -- You received this message becau