Skip to content
Snippets Groups Projects
Commit 02fd0c32 authored by jurgenhaas's avatar jurgenhaas
Browse files

Replace deprecated "sudo_user" with "become_user"

parent ee5d98ec
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@
- name: create database user
become: yes
sudo_user: postgres
become_user: postgres
postgresql_user:
name: git
role_attr_flags: CREATEDB
......@@ -51,7 +51,7 @@
- name: create database table
become: yes
sudo_user: postgres
become_user: postgres
postgresql_db:
name: gitlabhq_production
owner: git
......@@ -59,7 +59,7 @@
- name: clone gitlab source
become: yes
sudo_user: git
become_user: git
git:
repo: https://gitlab.com/gitlab-org/gitlab-ce.git
version: 7-12-stable
......@@ -129,7 +129,7 @@
- name: install gems
become: yes
sudo_user: git
become_user: git
command: bundle install -j8 --deployment --without development test mysql aws kerberos
args:
chdir: /home/git/gitlab
......@@ -137,7 +137,7 @@
- name: install gitlab shell
become: yes
sudo_user: git
become_user: git
command: bundle exec rake gitlab:shell:install[v2.6.3] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production
args:
chdir: /home/git/gitlab
......@@ -145,7 +145,7 @@
- name: initialize database
become: yes
sudo_user: git
become_user: git
command: echo yes | bundle exec rake gitlab:setup RAILS_ENV=production
args:
chdir: /home/git/gitlab
......@@ -169,7 +169,7 @@
- name: compile assets
become: yes
sudo_user: git
become_user: git
command: bundle exec rake assets:precompile RAILS_ENV=production
args:
chdir: /home/git/gitlab
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment