-
Notifications
You must be signed in to change notification settings - Fork 17
/
snipeit.yml
43 lines (34 loc) · 1.16 KB
/
snipeit.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
- hosts: snipeit
sudo: true
vars:
snipeit_source: /opt/snipe-it
snipeit_version: master
snipeit_dbname: snipeit
snipeit_dbuser: snipeit
smtp_host: []
smtp_port: 25
admin_first_name: Admin
admin_last_name: Admin
admin_email: "{{ lookup('env', 'GIT_AUTHOR_EMAIL') }}"
admin_user_name: "{{ lookup('env', 'USER') }}"
disable_default_apache_site: True
run_mysql_on_all_interfaces: True
# Currently the connector (ldap_dict has 'gone away') and another solution needed :: Don't bother with below ldap vars. If you want to import users from Active Directory to Snipe-IT, change ldap: to true and modify the below values.
# To import AD users, run /usr/local/bin/import_ad_users.py
ldap: false
ldap_uri: []
ldap_admin: 'CN=Administrator,DC=foo,DC=com'
ldap_passwd: 'your_secret_password'
users_ou: 'OU=Users,DC=foo,DC=com'
vars_prompt:
- name: "snipeit_dbuser_password"
prompt: "Enter snipeit_dbuser_password"
default: "changeme"
private: yes
- name: "admin_password"
prompt: "Enter admin_password"
default: "changeme"
private: yes
roles:
- snipeit-ansible