...
 
Commits (5)
......@@ -3,12 +3,12 @@
- hosts:
- all
roles:
- { role: config, tags: ["config", "api", "gitlab-bot"] }
- { role: config, tags: ["config", "api", "gitlab", "gitlab-bot"] }
- { role: gitlab, tags: ["api", "gitlab", "gitlab-bot"] }
- { role: reverse-proxy, tags: ["api", "doc", "gitlab"] }
- { role: lib, tags: ["lib", "gitlab-bot"] }
- { role: api, tags: ["api"] }
- { role: app, tags: ["app"] }
- { role: gitlab-bot, tags: ["gitlab-bot", "gitlab"] }
- { role: gitlab-bot, tags: ["gitlab-bot"] }
- { role: doc, tags: ["doc"] }
- { role: pm2, tags: ["pm2", "api", "app", "gitlab-bot"] }
---
dependencies:
- { role: nodejs }
- { role: duralex-sedlex }
---
dependencies:
- { role: nodejs }
---
- file:
- name: Create /usr/local/lib/npm/lib/node_modules
file:
path: "/usr/local/lib/npm/lib/node_modules"
state: "directory"
- name: Symlink the global NPM packages
file:
src: "/vagrant/lib/{{ item }}"
dest: "/usr/local/lib/npm/lib/node_modules/{{ item }}"
state: "link"
......@@ -8,8 +14,9 @@
- amenda-gitlab
- amenda-logger
- npm:
path: /vagrant/lib/{{ item }}
- name: Install global NPM packages dependencies
npm:
path: "/vagrant/lib/{{ item }}"
with_items:
- amenda-gitlab
- amenda-logger