[ansible-project] what's the syntac in ansible playbook to ping a remote host

2014-03-26 Thread YuLing Chen
Hi All, I'm looking for the syntax to ping a remote host in ansible playbook. I created something as follows, but it seems the syntax is wrong. - name: assign floating ip quantum_floating_ip: login_username: '{{login_username}}' login_password: '{{login_password}}'

[ansible-project] Is SFTP the requirement for running ansible scripts on the remote server?

2014-02-17 Thread YuLing Chen
Hi All, I'm new to Ansible and there is a dumb question... it seems that in default set up, SFTP is required on the remote server to run the Ansible scripts. I have a remote server that only has ssh/scp turned on. Is there any configuration in Ansible that we can do so that we can also run

[ansible-project] getting failed to open a SFTP connection error

2014-02-05 Thread YuLing Chen
Hi All, I'm new to Ansible and trying to run the ansible commands against a remote VM Ubuntu instance. I set up ssh so that I was able to ssh to this VM Ubuntu instance without password. However, when I run ansible commands, if I do not provide user name and password, I got Authentication

[ansible-project] getting Error in getting the server list: list index out of range in nova_compute module

2014-02-03 Thread YuLing Chen
Hi All, I'm new in Ansible and looking at the OpenStack related modules in ansible. All the modules worked pretty well in my environment except the nova_compute module when I tried to create a VM instance. I was getting the following error: PLAY [all]

Re: [ansible-project] getting Error in getting the server list: list index out of range in nova_compute module

2014-02-03 Thread YuLing Chen
have another server with a name that starts or contains 'vm2' but doesn't exactly match vm2 such as vm22 or such. In which case, you may want to look at giving your new server the name vm02 or similar. -- Matt Martz m...@sivel.net On February 3, 2014 at 12:59:15 PM, YuLing Chen (yulingche