-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.yml
24 lines (23 loc) · 906 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by thopper91 (2017)
- name: Ensure that the User is present using the default configuration
oneview_user:
config: "{{ config }}"
state: present
data:
enabled: true
category: "users"
fullName: "{{ User_Fullname }}"
userName: "{{ User_Username }}"
password: "{{ User_Password }}"
emailAddress: "{{ User_emailAddress }}" # Optional
mobilePhone: "{{ User_mobilePhone }}" # Optional
officePhone: "{{ User_officePhone }}" # Optional
## The Roles can be multiple. If needing all roles, select Infrastructure Admin. If Read only, only use that one. If needing Specified roles, use the rest
roles:
- "Infrastructure administrator"
# - "Read only"
# - "Server administrator"
# - "Backup administrator"
# - "Network administrator"
# - "Storage administrator"
# - "Software administrator"