Skip to content

Commit 583e207

Browse files
authored
Merge pull request #48 from stackhpc/user-without-password
Make user password optional
2 parents 233a0c9 + a2726be commit 583e207

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

roles/os_projects/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ Each item should be a dict containing the following items:
4444
- `name`: The name of the user.
4545
- `description`: User name/description (optional)
4646
- `email`: User email address (optional)
47-
- `password`: The user's password. This is not updated after creation.
47+
- `password`: The user's password (optional). This is not updated after
48+
creation.
4849
- `roles`: Optional list of roles to assign to the user in the project.
4950
- `domain_roles`: Optional list of roles to assign to the user in the user
5051
domain.

roles/os_projects/tasks/users.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
name: "{{ item.name }}"
1010
description: "{{ item.description | default(omit) }}"
1111
email: "{{ item.email | default(omit) }}"
12-
password: "{{ item.password }}"
12+
password: "{{ item.password | default(omit) }}"
1313
default_project: "{{ project.name }}"
1414
domain: "{{ domain_is_id | ternary(project.user_domain, os_projects_domain_to_id[project.user_domain]) }}"
1515
state: present

0 commit comments

Comments
 (0)