sb_users_definition:
- name: Simple Spring Boot App User
username: sbuser
groups: [sbgroup]
sb_user_groups_definitions:
- name: sbgroup
sb_app_user: sbuser
sb_app_user_group: sbgroup
Note that it requires the list definitions to create the users and groups then a specific user and group to use.
- name: "Check vars | Assert sb_users_definition is defined"
assert:
that:
- "sb_users_definition is defined"
msg: "sb_users_definition must be defined"
- name: "Check vars | Assert sb_user_groups_definitions is defined"
assert:
that:
- "sb_user_groups_definitions is defined"
msg: "sb_user_groups_definitions must be defined"