Skip to content
Snippets Groups Projects
Commit 61ee2ae3 authored by jurgenhaas's avatar jurgenhaas
Browse files

Replace deprecated syntax

parent a543b674
Branches
No related tags found
No related merge requests found
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
- unicorn.rb - unicorn.rb
- initializers/rack_attack.rb - initializers/rack_attack.rb
- resque.yml - resque.yml
when: result | changed when: result is changed
- name: copy database config file - name: copy database config file
copy: copy:
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
command: bundle install -j8 --deployment --without development test mysql aws kerberos command: bundle install -j8 --deployment --without development test mysql aws kerberos
args: args:
chdir: /home/git/gitlab chdir: /home/git/gitlab
when: result | changed when: result is changed
- name: install gitlab shell - name: install gitlab shell
become: yes become: yes
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
command: bundle exec rake gitlab:shell:install[v2.6.3] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production command: bundle exec rake gitlab:shell:install[v2.6.3] REDIS_URL=unix:/var/run/redis/redis.sock RAILS_ENV=production
args: args:
chdir: /home/git/gitlab chdir: /home/git/gitlab
when: result | changed when: result is changed
- name: initialize database - name: initialize database
become: yes become: yes
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
command: echo yes | bundle exec rake gitlab:setup RAILS_ENV=production command: echo yes | bundle exec rake gitlab:setup RAILS_ENV=production
args: args:
chdir: /home/git/gitlab chdir: /home/git/gitlab
when: result | changed when: result is changed
- name: install the init script - name: install the init script
command: cp /home/git/gitlab/lib/support/init.d/gitlab /etc/init.d/gitlab command: cp /home/git/gitlab/lib/support/init.d/gitlab /etc/init.d/gitlab
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
command: bundle exec rake assets:precompile RAILS_ENV=production command: bundle exec rake assets:precompile RAILS_ENV=production
args: args:
chdir: /home/git/gitlab chdir: /home/git/gitlab
when: result | changed when: result is changed
- name: start gitlab instance - name: start gitlab instance
become: yes become: yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment