Skip to content

Commit

Permalink
support for nginx proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarnoldus committed Jun 22, 2016
1 parent 53c6fbe commit 4a473c7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ script:
| grep -q '200'
&& (echo 'Status code 200 test: pass' && exit 0)
|| (echo 'Status code 200 test: fail' && exit 1)
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
slack: repleo:tGgt7sFWs396UqnsAhPhccWu

8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Ansible Role: GitLab

[![Build Status](https://travis-ci.org/geerlingguy/ansible-role-gitlab.svg?branch=master)](https://travis-ci.org/geerlingguy/ansible-role-gitlab)
[![Build Status](https://travis-ci.org/repleo/ansible-role-gitlab.svg?branch=master)](https://travis-ci.org/repleo/ansible-role-gitlab)
[![Ansible Galaxy](http://img.shields.io/badge/galaxy-repleo.gitlab-660198.svg?style=flat)](https://galaxy.ansible.com/repleo/gitlab)

Installs GitLab, a Ruby-based front-end to Git, on any RedHat/CentOS or Debian/Ubuntu linux system.

Expand Down Expand Up @@ -72,4 +73,9 @@ MIT / BSD

## Author Information

Curren maintainter:
Repleo, Amstelveen, Holland -- www.repleo.nl
Jeroen Arnoldus ([email protected])

This role was created in 2014 by [Jeff Geerling](http://jeffgeerling.com/), author of [Ansible for DevOps](http://ansiblefordevops.com/).

7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Change Log
The gitlab ansible installation change history

## [1.3.0] - Release 2016-06-22

* Added support for multi site hosting via nginx proxy
* Forked from geerlingguy.gitlab v1.2.1
15 changes: 8 additions & 7 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@
apt: "name=gitlab-ce state=installed"
when: (gitlab_file.stat.exists == false) and (ansible_os_family == 'Debian')

# Start and configure GitLab. Sometimes the first run fails, but after that,
# restarts fix problems, so ignore failures on this run.
- name: Reconfigure GitLab (first run).
command: >
gitlab-ctl reconfigure
creates=/var/opt/gitlab/bootstrapped
failed_when: false

- name: Create GitLab SSL configuration folder.
file:
Expand All @@ -87,3 +80,11 @@
group: root
mode: 0600
notify: restart gitlab

# Start and configure GitLab. Sometimes the first run fails, but after that,
# restarts fix problems, so ignore failures on this run.
- name: Reconfigure GitLab (first run).
command: >
gitlab-ctl reconfigure
creates=/var/opt/gitlab/bootstrapped
failed_when: false

0 comments on commit 4a473c7

Please sign in to comment.