agent on server

49 views
Skip to first unread message

Nitin Kumar

unread,
Sep 15, 2014, 7:46:28 AM9/15/14
to ansible...@googlegroups.com
Hi, 

For Ansible we say its agentless. But in our requirement we need to have a agent on client which polls management server depending on some events to trigger some activities back.

Say client is going down, it will trigger event and notify Management server. Then server can send requests to save logs.

As we have agent in puppet/chef we can leverage that feature. 

is there a way we implement such feature using Ansible?

Thanks
Nitin Kr

Nitin Kumar

unread,
Sep 15, 2014, 7:48:10 AM9/15/14
to ansible...@googlegroups.com
last mail got wrong subject line. So sending once again.

Brian Coca

unread,
Sep 15, 2014, 7:52:52 AM9/15/14
to ansible...@googlegroups.com
look at ansible-pull

James Cammarata

unread,
Sep 15, 2014, 4:59:22 PM9/15/14
to ansible...@googlegroups.com
Hi Nitin, 

For this purpose you could simply install Ansible on any end-point systems and write an init script which was run on system shutdown to execute your playbooks. For periodic updates at regular times, we also provide the ansible-pull utility (http://docs.ansible.com/playbooks_intro.html#ansible-pull), which is typically setup via a cron job.

Thanks!

--
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/883757ec-a2a7-4e86-bdab-2e7d3d21d4bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Favorite

unread,
Sep 15, 2014, 10:34:45 PM9/15/14
to ansible...@googlegroups.com
awesome. missed this. thanks for sharing

On Mon, Sep 15, 2014 at 7:52 AM, Brian Coca <bria...@gmail.com> wrote:
look at ansible-pull


--
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.

Michael DeHaan

unread,
Sep 16, 2014, 10:47:59 AM9/16/14
to ansible...@googlegroups.com
Also, Ansible Tower -- http://ansible.com/tower.

Tower has the ability to set up

(A) timers to run projects repeatedly at set times

(B) web callbacks that can allow a node to phone in and request configuration (useful for autoscaling setups).




Reply all
Reply to author
Forward
0 new messages