There is a way to have a list of JSON files, each of them representing a specific user in the vars.yml file in Ansible.
Example:
-users:
- username: jsmith
project_role: administrators
full_name: John Smith
email: johnsmith@mail.com
- username: pmorrison
project_role: developer
full_name: Paul Morrison
email: paulmorrison@mail.com
in particular I want to design the single users as single json files, for example. One json file for John smith that contains all his information, one json file for paul morrison that contains all his information, and so on.
Thank you