ansible/roles/rails/tasks/main.yml in subspace-0.4.11 vs ansible/roles/rails/tasks/main.yml in subspace-0.4.13
- old
+ new
@@ -1,6 +1,16 @@
---
+ - name: Add yarn apt key
+ apt_key:
+ url: https://dl.yarnpkg.com/debian/pubkey.gpg
+ state: present
+
+ - name: Add yarn apt repo
+ apt_repository:
+ repo: deb https://dl.yarnpkg.com/debian/ stable main
+ state: present
+
- name: Install rails apt dependencies
apt:
name: "{{item}}"
with_items:
- git
@@ -10,9 +20,10 @@
- libmagickwand-dev
- libpq-dev
- libxslt-dev
- nodejs
- zlib1g-dev
+ - yarn
become: true
- name: Create /u/apps/{{project_name}}/shared/config
file:
path: /u/apps/{{project_name}}/shared/config/