mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-03 17:01:39 +08:00
Import global vars in the plays that need them.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user