Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions roles/os_projects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ Each item should be a dict containing the following items:
- `domain_roles`: Optional list of roles to assign to the user in the user
domain.
- `openrc_file`: Path to an environment file to create.
- `create_user`: Boolean to indicate whether or not to create the user. Can
be useful if the user already exists e.g the user is defined in LDAP.
(optional)
- `keypairs`: Optional list of SSH key pairs to register with Nova. Each key
pair should be a dict containing the following items:
- `name`: The name of the keypair.
Expand Down
1 change: 1 addition & 0 deletions roles/os_projects/tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
enabled: true
wait: true
with_items: "{{ project.users }}"
when: item.create_user | default(true) | bool
environment: "{{ os_projects_environment }}"
vars:
domain_is_id: "{{ project.user_domain in os_projects_domain_to_id.values() }}"
Expand Down