Stoeps' Links
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • ATOM Feed
  • Daily Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Display

Filter untagged links
2 results tagged handlers  ✕
Handlers: running operations on change — Ansible Documentation https://docs.ansible.com/ansible/latest/user_guide/playbooks_handlers.html
Fri 08 Jan 2021 03:56:18 PM CET wallabag

Sometimes you want a task to run only when a change is made on a machine. For example, you may want to restart a service if a task updates the configuration of that service, but not if the configuration is unchanged. Ansible uses handlers to address this use case. Handlers are tasks that only run when notified. Each handler should have a globally unique name.

ansible handlers
Ansible Handlers | Complete Guide to What is Ansible Handlers? https://www.educba.com/ansible-handlers/
Fri 08 Jan 2021 03:12:43 PM CET wallabag
thumbnail

Ansible provides feature named handlers, which is like a task but will only run when called by a notifier in another task. This feature is important because your requirements for running a task may depend on the state of a service, existence of a file or a follow up tasks when state changed. We can make use of variables in notify and handlers which makes it more flexible. Ansible Handlers are used extensively in production and live environments as you always depend on something else to decide whether a task should run or not.

ansible handlers tutorial
413 links
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn
Impressum