agent on server

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

last mail got wrong subject line. So sending once again.

look at ansible-pull

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!

awesome. missed this. thanks for sharing

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