Tag up the kerneltest role.
This commit is contained in:
parent
c4605694d8
commit
fc3ab9a58f
1 changed files with 13 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
||||||
command: yum clean all
|
command: yum clean all
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
- kerneltest
|
||||||
|
|
||||||
- name: install needed packages
|
- name: install needed packages
|
||||||
yum: pkg={{ item }} state=present
|
yum: pkg={{ item }} state=present
|
||||||
|
@ -17,11 +18,14 @@
|
||||||
- libsemanage-python
|
- libsemanage-python
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
|
- kerneltest
|
||||||
|
|
||||||
- name: Create the folder to store the logs
|
- name: Create the folder to store the logs
|
||||||
action: file state=directory
|
action: file state=directory
|
||||||
path=/var/www/logs
|
path=/var/www/logs
|
||||||
owner=apache group=apache mode=0755
|
owner=apache group=apache mode=0755
|
||||||
|
tags:
|
||||||
|
- kerneltest
|
||||||
|
|
||||||
- name: Install all the configuration file of kerneltest
|
- name: Install all the configuration file of kerneltest
|
||||||
template: src={{ item.file }}
|
template: src={{ item.file }}
|
||||||
|
@ -33,6 +37,7 @@
|
||||||
- { file: kerneltest.wsgi, location: /var/www/ }
|
- { file: kerneltest.wsgi, location: /var/www/ }
|
||||||
tags:
|
tags:
|
||||||
- config
|
- config
|
||||||
|
- kerneltest
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
|
|
||||||
|
@ -41,9 +46,14 @@
|
||||||
command: /usr/bin/python2 /usr/share/kerneltest/kerneltest_createdb.py
|
command: /usr/bin/python2 /usr/share/kerneltest/kerneltest_createdb.py
|
||||||
environment:
|
environment:
|
||||||
KERNELTEST_CONFIG: /etc/kerneltest/kerneltest.cfg
|
KERNELTEST_CONFIG: /etc/kerneltest/kerneltest.cfg
|
||||||
|
tags:
|
||||||
|
- kerneltest
|
||||||
|
|
||||||
- name: set sebooleans so the app can talk to the db and send emails
|
- name: set sebooleans so the app can talk to the db and send emails
|
||||||
seboolean: name=httpd_can_network_connect state=true persistent=true
|
seboolean: name=httpd_can_network_connect state=true persistent=true
|
||||||
|
tags:
|
||||||
|
- kerneltest
|
||||||
|
- selinux
|
||||||
|
|
||||||
- name: apply selinux type to log files
|
- name: apply selinux type to log files
|
||||||
file: >
|
file: >
|
||||||
|
@ -51,3 +61,6 @@
|
||||||
setype=httpd_sys_rw_content_t
|
setype=httpd_sys_rw_content_t
|
||||||
state=directory
|
state=directory
|
||||||
recurse=yes
|
recurse=yes
|
||||||
|
tags:
|
||||||
|
- kerneltest
|
||||||
|
- selinux
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue