We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 322a62b commit 4b9f74eCopy full SHA for 4b9f74e
roles/mongo.yml
@@ -0,0 +1,10 @@
1
+- hosts: backend-mongo
2
+ user: root
3
+ tasks:
4
+ - name: Setup | Install mongo
5
+ action: apt pkg=$item state=installed
6
+ tags: common
7
+ with_items:
8
+ - mongodb
9
+ - mongodb-server
10
+ - python-pymongo
roles/node.yml
@@ -0,0 +1,9 @@
+- hosts: middle-node
+ - name: Setup | Install nodejs
+ - nodejs
+ - nodejs-dev
site.yml
@@ -4,5 +4,5 @@
- apt: update-cache=yes
when_unset: $apt_cache_updated
register: apt_cache_updated
-
+- include: roles/node.yml
- include: roles/web.yml
0 commit comments