adding resultsdb-stg01 host, resultsdb-stg group, resultsdb backend and frontend roles
This commit is contained in:
parent
4f9806ff3c
commit
61152b0522
12 changed files with 252 additions and 0 deletions
15
roles/taskotron/resultsdb-frontend/tasks/main.yml
Normal file
15
roles/taskotron/resultsdb-frontend/tasks/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
- name: ensure packages required for resultsdb_frontend are installed
|
||||
action: yum name={{ item }} state=latest
|
||||
with_items:
|
||||
- resultsdb_frontend
|
||||
- mod_wsgi
|
||||
|
||||
- name: generate resultsdb_frontend config
|
||||
template: src=settings.py.j2 dest=/etc/resultsdb_frontend/settings.py owner=root group=root mode=0644
|
||||
notify:
|
||||
- restart httpd
|
||||
|
||||
- name: generate resultsdb_frontend apache config
|
||||
template: src=resultsdb_frontend.conf.j2 dest=/etc/httpd/conf.d/resultsdb_frontend.conf owner=root group=root mode=0644
|
||||
notify:
|
||||
- restart httpd
|
Loading…
Add table
Add a link
Reference in a new issue