ASK to pass variable over another host

12 views
Skip to first unread message

Muhammad Yusuf

unread,
Aug 12, 2014, 2:53:22 AM8/12/14
to ansible...@googlegroups.com
i got some situation :
host file : development
[master]
1.2.3.4 
[client]
1.2.3.5 dump_var="testing"
1.2.3.10 dump_var="test2"

yml file :
site.yml
---
- hosts: master
  gather_facts: false
  sudo: true
  remote_user: root
  roles:
    - sample

==================
the question is:
can master get the dump_var variable ? is it possible?
i want to get that variable and loop it inside roles "sample"

thanks

Michael DeHaan

unread,
Aug 12, 2014, 7:29:35 AM8/12/14
to ansible...@googlegroups.com


--
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 post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/65eb61cf-c24f-4d4b-abf0-0b8850de0109%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages