according to https://docs.ansible.com/ansible/2.5/modules/include_vars_module.html
this task should load all yaml files in /home/yaml/users and assign to var 'users' - name: load yaml using include_vars with dir > include_vars: > name: 'users' > dir: /home/yaml/users/ > delegate_to: localhost > > - name: debug users > debug: > var: 'users' > but why debug message shows only the last yaml file content , not the all ?? -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4bcbc328-3114-4941-893f-4e8bb3fb5c8f%40googlegroups.com.
