blob: 62dd045e6cc88eb6f2467856f5c16a3c19dfcd3a (
plain)
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
|
- name: install packages
package: name={{ item }} state=installed
with_items:
- koschei-frontend
- koschei-frontend-fedora
- mod_auth_openid
tags:
- koschei
- packages
- name: install config files
template: >
src="{{ item }}.j2"
dest="/etc/koschei/{{ item }}"
owner=koschei
group=koschei
mode=0400
with_items:
- config-frontend.cfg
notify:
- reload httpd
tags:
- koschei
- config
- name: install httpd config file
template: >
src="httpd.conf.j2"
dest="/etc/httpd/conf.d/koschei.conf"
notify:
- reload httpd
tags:
- koschei
- config
- name: set httpd selinux booleans
seboolean: name={{ item }} state=yes persistent=yes
with_items:
- httpd_can_network_connect
- httpd_can_network_connect_db
- httpd_can_network_memcache
notify:
- reload httpd
tags:
- koschei
- selinux
- name: enable httpd to start on boot
service: name=httpd state=running enabled=true
tags:
- koschei
- service
|