Commit 90c4e360 authored by Decoupes Remy's avatar Decoupes Remy
Browse files

test of tree view

No related merge requests found
Showing with 19 additions and 21 deletions
+19 -21
ansible-playbook -i inventory/static playbook/mononode.yml
......@@ -2,7 +2,13 @@
"folders":
[
{
"path": "playbook"
"path": "playbook",
},
{
"path": "inventory",
},
{
"path": "vagrant",
}
]
}
......@@ -5,3 +5,4 @@
[edge-nodes]
[mono-node]
mononode ansible_host=172.16.50.54 ansible_user=vagrant ansible_ssh_pass=vagrant
\ No newline at end of file
---
- name: deploy geonetwork
- name: deploy HDFS on single node
hosts: 'mono-node'
roles:
- common
\ No newline at end of file
tasks:
- name: Full upgrade for the system
become: yes
apt:
update_cache: yes
upgrade: yes
autoclean: yes
autoremove: yes
......@@ -7,22 +7,5 @@
autoclean: yes
autoremove: yes
- name: Install dependencies for tomcat
become: yes
apt:
name:
- openjdk-7-jdk
- name: create hadoop group
become: yes
group:
name: hadoop
- name: create hadoop user
become: yes
user:
name: tomcat
group: tomcat
home: /usr/share/tomcat
createhome: no
system: yes
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment