Creating a variable:
vars: your_new_variable: your_new_var_value
Using variables, just reference it using {{ }}: [1]
{{ }}
{{ your_new_var_value }}
/group_vars/
/host_vars/
- name: Execute a command ansible.builtin.command: "false" debugger: on_failed
vars:
--extra-vars
lookup
/host_vars/, /group_vars/
Advertising: