Import global vars in the plays that need them.
This commit is contained in:
parent
e91e50ef34
commit
cbe2c3caa2
1 changed files with 4 additions and 0 deletions
|
@ -148,6 +148,8 @@
|
|||
user: root
|
||||
sudo: yes
|
||||
sudo_user: gitlab
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
tasks:
|
||||
- name: Clone GitLab 4.2 stable
|
||||
git: repo=https://github.com/gitlabhq/gitlabhq.git dest=/home/gitlab/gitlab version=4-2-stable
|
||||
|
@ -176,6 +178,8 @@
|
|||
|
||||
- hosts: gitlab-dev.cloud.fedoraproject.org
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
tasks:
|
||||
- name: Copy post-receive hook
|
||||
command: cp /home/gitlab/gitlab/lib/hooks/post-receive /home/git/.gitolite/hooks/common/post-receive creates=/home/git/.gitolite/hooks/common/post-receive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue