On 04.12.2017 09:38, Muhammad Mahir wrote:
Hello there,
I just want to test my script if it creates a simple .txt file into a
destination put instead it is creating that same file into the source
vm that is where the ansible is installed.
Here is the simple script I'm running.
---
*- hosts: Cassandra*
* remote_user: murtaza*
* connection: local*
That's because of the connection line
http://docs.ansible.com/ansible/latest/playbooks_delegation.html#local-playbooks
--
Kai Stian Olstad
--
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/eee3f1c27cd12ceb21303c36fc8d677e%40olstad.com.
For more options, visit https://groups.google.com/d/optout.