mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c642ba77ae
Dict vars passed to roles are now properly merged instead of simply overriding dict vars that are coming from vars_files.
16 lines
295 B
YAML
16 lines
295 B
YAML
---
|
|
- hosts: all
|
|
connection: local
|
|
|
|
vars_files:
|
|
- hello.yml
|
|
- goodbye.yml
|
|
|
|
tasks:
|
|
- name: generate messages
|
|
action: template src=message.j2 dest=/tmp/ansible_test_messages.out
|
|
|
|
roles:
|
|
- role: hash_behavior_test_role
|
|
messages:
|
|
inside_a_role: "Indeed!"
|