blob: 784a81472fcea8e0da3a1ec9cabb6e8a9a816047 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
---
- name: Task
ansible.builtin.include_role:
name: example.test_collection.my_role2
vars:
my_role2_foo: something
- name: Task 2
# this task should NOT trigger var-naming[no-role-prefix]
vars:
foo: bar
ansible.builtin.debug:
msg: "{{ foo }}"
|