Ansible variables
Jump to navigation
Jump to search
Creating a variable:
vars: your_new_variable: your_new_var_value
Using variables, just reference it using {{ }}
: [1]
{{ your_new_var_value }}
- name: Execute a command ansible.builtin.command: "false" debugger: on_failed
Related
See also
Advertising: