Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
itminedu
okeanos-LoD
Commits
c901ded6
Commit
c901ded6
authored
Jul 22, 2015
by
Georgios Ouzounis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LAM-53 Created Ansible role for service vm.
parent
32fa0262
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
0 deletions
+36
-0
webapp/ansible/README.md
webapp/ansible/README.md
+3
-0
webapp/ansible/hosts
webapp/ansible/hosts
+2
-0
webapp/ansible/playbooks/roles
webapp/ansible/playbooks/roles
+1
-0
webapp/ansible/roles/service-vm/tasks/django-install.yml
webapp/ansible/roles/service-vm/tasks/django-install.yml
+6
-0
webapp/ansible/roles/service-vm/tasks/github.yml
webapp/ansible/roles/service-vm/tasks/github.yml
+3
-0
webapp/ansible/roles/service-vm/tasks/main.yml
webapp/ansible/roles/service-vm/tasks/main.yml
+15
-0
webapp/ansible/roles/service-vm/tasks/postgresql-install.yml
webapp/ansible/roles/service-vm/tasks/postgresql-install.yml
+6
-0
No files found.
webapp/ansible/README.md
0 → 100644
View file @
c901ded6
python needs to be installed.
Doesn't use virtual env.
webapp/ansible/hosts
0 → 100644
View file @
c901ded6
[service-vms]
lod-service
webapp/ansible/playbooks/roles
0 → 120000
View file @
c901ded6
../roles/
\ No newline at end of file
webapp/ansible/roles/service-vm/tasks/django-install.yml
0 → 100644
View file @
c901ded6
---
-
name
:
Install Django using Pip.
pip
:
name=Django
-
name
:
Install Django connector for PostgreSQL.
pip
:
name=psycopg2
webapp/ansible/roles/service-vm/tasks/github.yml
0 → 100644
View file @
c901ded6
---
-
name
:
Download Django code from Github.
git
:
repo=https://github.com/gouzouni625/okeanos-LoD.git dest=/root/okeanos-LoD
webapp/ansible/roles/service-vm/tasks/main.yml
0 → 100644
View file @
c901ded6
---
-
name
:
Upgrade packages.
apt
:
upgrade=dist update_cache=yes
-
name
:
Install Python Pip.
apt
:
name=python-pip state=latest
-
name
:
Include django-install tasks.
include
:
django-install.yml
-
name
:
Include github tasks.
include
:
github.yml
-
name
:
Include postgresql-install tasks.
include
:
postgresql-install.yml
webapp/ansible/roles/service-vm/tasks/postgresql-install.yml
0 → 100644
View file @
c901ded6
---
-
name
:
Install PosgreSQL.
apt
:
name=postgresql state=latest
-
name
:
Install PostgreSQL header files.
apt
:
name=libpd-dev state=latest
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment