Commit 63a00f65 by Jillian Vogel

Install jenkins nginx config to nginx_sites_available_dir,

and add nginx role to analytics-jenkins, so it has access to the nginx
variables.
parent fee4a7c2
......@@ -5,3 +5,4 @@
become: True
roles:
- jenkins_analytics
- nginx
......@@ -249,18 +249,18 @@
- install:base
- install:plugins
- name: Setup nginix vhost
- name: Setup nginx vhost
template:
src: "etc/nginx/sites-available/jenkins.j2"
dest: "/etc/nginx/sites-available/jenkins"
dest: "{{ nginx_sites_available_dir }}/jenkins"
tags:
- install
- install:vhosts
- name: Enable jenkins vhost
file:
src: "/etc/nginx/sites-available/jenkins"
dest: "/etc/nginx/sites-enabled/jenkins"
src: "{{ nginx_sites_available_dir }}/jenkins"
dest: "{{ nginx_sites_enabled_dir }}/jenkins"
state: link
tags:
- install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment