Skip to content
Snippets Groups Projects
Verified Commit ecff9407 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

Add some tags and handlers

parent 139e7db4
No related branches found
No related tags found
No related merge requests found
......@@ -17,11 +17,15 @@
- RT::Authen::ExternalAuth
tags:
- rt
- packages
- name: Have RT config installed
template: src=RT_SiteConfig.pm.j2 dest=/etc/request-tracker4/RT_SiteConfig.pm owner=root group=www-data mode=0660
tags:
- rt
- config
notify:
- restart RT
- name: Debconf RT
debconf: name=request-tracker4 question={{item.q}} value={{item.v}} vtype={{item.t}}
......@@ -38,6 +42,7 @@
template: src=nginx-rt.j2 dest=/etc/nginx/sites-available/rt
tags:
- rt
- config
notify:
- restart nginx
......@@ -45,6 +50,7 @@
file: path=/etc/nginx/sites-enabled/default state=absent
tags:
- rt
- config
notify:
- restart nginx
......@@ -52,6 +58,7 @@
file: state=link src=/etc/nginx/sites-available/rt dest=/etc/nginx/sites-enabled/rt
tags:
- rt
- config
notify:
- restart nginx
......@@ -63,6 +70,7 @@
line: 'enabled=1'
tags:
- rt
- service
- name: Have DB for RT initialized
shell: "rt-setup-database --action init --skip-create && touch /etc/request-tracker4/.db_initialized"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment