Browse Source

better format gitlab roles tasks

pydio
Edoardo Putti 8 years ago
parent
commit
3882ede943
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      roles/gitlab/tasks/main.yaml

+ 5
- 2
roles/gitlab/tasks/main.yaml View File

@ -13,7 +13,9 @@
state: present state: present
- name: add gitlab omnibus repository - name: add gitlab omnibus repository
apt_repository: repo='deb https://packages.gitlab.com/gitlab/gitlab-ce/debian/ jessie main' state=present
apt_repository:
repo: 'deb https://packages.gitlab.com/gitlab/gitlab-ce/debian/ jessie main'
state: present
- name: install gitlab package - name: install gitlab package
apt: apt:
@ -26,7 +28,8 @@
- block: - block:
- name: create gitlab DB - name: create gitlab DB
postgresql_db: name=gitlabhq_production
postgresql_db:
name: gitlabhq_production
- name: create gitlab DB user - name: create gitlab DB user
postgresql_user: postgresql_user:
name: gitlab-psql name: gitlab-psql


Loading…
Cancel
Save