# ansible-pull vs ssh remote port forwarding

**URL:** <https://forum.ansible.com/t/ansible-pull-vs-ssh-remote-port-forwarding/12859>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [May 23, 2013, 2:25pm UTC](https://forum.ansible.com/t/ansible-pull-vs-ssh-remote-port-forwarding/12859 "2013-05-23T14:25:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [May 23, 2013, 2:25pm UTC](https://forum.ansible.com/t/ansible-pull-vs-ssh-remote-port-forwarding/12859/1 "2013-05-23T14:25:19Z")

</div>

Not too many people use ansible-pull, though I wouldn’t really want my nodes to be able to SSH back to my server.

We are working on a REST-based callback solution that will allow you to simply allow a system to make a wget with a special token and request it be reconfigured.

This will allow full reporting as well as a really clean solution to the idea of nodes coming up at random times (like new cloud instances)

---

<div class="post-metadata">

**Author:** ![PePe\_Amengual](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@PePe\_Amengual](https://forum.ansible.com/u/PePe_Amengual)\
**Post date:** [May 25, 2013, 12:09am UTC](https://forum.ansible.com/t/ansible-pull-vs-ssh-remote-port-forwarding/12859/2 "2013-05-25T00:09:24Z")

</div>

I Use ansible in pull mode a lot.

we are a dev shop and we use pull mode for dev machines using vagrant that come up at random times and in different time zones.

[https://github.com/jamengual/ansible-vagrant-pullmode](https://github.com/jamengual/ansible-vagrant-pullmode)

I’m still working on it and making it better, now I’m working on changing the install script and some other new features.

Another reasons we like pull mode because it connects to github to download the new version of the playbook so we can have a custom versioned file per developer, it uses a cron job so is unattended and the developer doesn’t even know that is happening.

I will love to see how the REST Api will look like.

Thanks.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [May 25, 2013, 12:21am UTC](https://forum.ansible.com/t/ansible-pull-vs-ssh-remote-port-forwarding/12859/3 "2013-05-25T00:21:28Z")

</div>

Running ansible straight from latest github!

I like it 🙂
