-
Notifications
You must be signed in to change notification settings - Fork 1
/
osticket.yml
60 lines (52 loc) · 1.13 KB
/
osticket.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
- name: Deploy OSTicket to webroot
remote_user: ulsprovision
hosts: osticket
become: yes
tasks:
- name: add ulsit group
group:
name: ulsit
state: present
- name: add ulsit users
user:
name: "{{ item }}"
groups: ulsit
append: yes
with_items:
- ctgraham
- bdgregg
- asw76
- rlh52
- mem375
- nylorac
- danbrown
- name: SetGID for webroot
file:
path: /var/www/html
state: directory
recurse: yes
group: ulsit
mode: '2775'
- name: selinux httpd_can_sendmail
seboolean:
name: httpd_can_sendmail
state: yes
persistent: yes
- name: selinux httpd_can_network_connect
seboolean:
name: httpd_can_network_connect
state: yes
persistent: yes
- name: Deploy 1.14.1
git:
repo: 'https://github.com/osTicket/osTicket.git'
dest: /var/www/html/
version: v1.14.1
umask: '002'
- name: Add LDAP plugin
copy:
src: resources/osticket/auth-ldap.phar
dest: /var/www/html/include/plugins/
mode: u=rw,g=rw,o=r
owner: root
group: ulsit