Commit 03d28e2c by Jillian Vogel Committed by GitHub

Merge pull request #3804 from open-craft/jill/jenkins-nginx

Install jenkins nginx config to nginx_sites_available_dir
parents 608eda10 63a00f65
......@@ -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