ansible - Running playbooks automatically -
i learning ansible , hard time figuring out, how configure ansible run playbooks on own after interval. ? puppet does.
ansible works in different way compared puppet.
puppet pulls configuration changes central place , applies changes on remote host asked it.
ansible design works different. push changes (from control machine has ssh access remote hosts - own computer) remote hosts.
you can make ansible work in pull mode it's not how ansible designed used.
you can see answer more information: can't run ansible in daemon-mode
if host automatically run playbooks on (localhost) use ansible-pull
script + crontab.
Comments
Post a Comment