ansible/roles/rails/tasks/main.yml in subspace-0.1.3 vs ansible/roles/rails/tasks/main.yml in subspace-0.2.1
- old
+ new
@@ -10,27 +10,27 @@
- libmagickwand-dev
- libpq-dev
- libxslt-dev
- nodejs
- zlib1g-dev
- sudo: true
+ become: true
- name: Create /u/apps/{{project_name}}/shared/config
file:
path: /u/apps/{{project_name}}/shared/config/
state: directory
- sudo: true
- sudo_user: "{{deploy_user}}"
+ become: true
+ become_user: "{{deploy_user}}"
- name: Create database.yml
template:
src: database.yml
dest: /u/apps/{{project_name}}/shared/config/database.yml
- sudo: true
- sudo_user: "{{deploy_user}}"
+ become: true
+ become_user: "{{deploy_user}}"
- name: Create application.yml
template:
src: application.yml
dest: /u/apps/{{project_name}}/shared/config/application.yml
- sudo: true
- sudo_user: "{{deploy_user}}"
+ become: true
+ become_user: "{{deploy_user}}"