Ansible - Exit (fail)

Card Puncher Data Processing

Fail Task

- name: 'This installation script knows only gateway.'
    msg: "This host {{ inventory_hostname }} is not in a 'gateway' group, this script can not still install a worker."
  when: "'gateway' not in group_names"

Discover More
Card Puncher Data Processing
How to perform File System operations (copy, exists, move, ) in Ansible?

This page shows you how to perform File system operations in Ansible. When looping through files, you can get the...

Share this page:
Follow us:
Task Runner