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 @@ ...@@ -5,3 +5,4 @@
become: True become: True
roles: roles:
- jenkins_analytics - jenkins_analytics
- nginx
...@@ -249,18 +249,18 @@ ...@@ -249,18 +249,18 @@
- install:base - install:base
- install:plugins - install:plugins
- name: Setup nginix vhost - name: Setup nginx vhost
template: template:
src: "etc/nginx/sites-available/jenkins.j2" src: "etc/nginx/sites-available/jenkins.j2"
dest: "/etc/nginx/sites-available/jenkins" dest: "{{ nginx_sites_available_dir }}/jenkins"
tags: tags:
- install - install
- install:vhosts - install:vhosts
- name: Enable jenkins vhost - name: Enable jenkins vhost
file: file:
src: "/etc/nginx/sites-available/jenkins" src: "{{ nginx_sites_available_dir }}/jenkins"
dest: "/etc/nginx/sites-enabled/jenkins" dest: "{{ nginx_sites_enabled_dir }}/jenkins"
state: link state: link
tags: tags:
- install - 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