Name: ansible-geonode
Owner: GeoNode Development Team
Description: Ansible GeoNode Scripts
Created: 2015-06-05 15:22:27.0
Updated: 2018-01-16 22:21:43.0
Pushed: 2018-03-12 19:26:04.0
Homepage: https://galaxy.ansible.com/GeoNode/geonode/
Size: 118
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This Ansible Role will install GeoNode and required dependencies onto an Ubuntu 16.04 (Xenial) host. It includes tasks for PostgreSQL+PostGIS, GeoServer, GeoNode, nginx, uswgi and also includes tasks for using AWS RDS databases. It is meant to be used with a GeoNode template project by following the workflow described here http://github.com/geonode/geonode-project
There are three cases to use this project:
app_name
- GeoNode project name (default: my_geonode
)github_user
- GitHub username that owns the project (default: GeoNode
)repo_name
- GitHub repository name (defaults to app_name
: my_geonode
)code_repository
- URL to the Code Repository (default: https://github.com/{{ github_user }}/{{ app_name }}.git
)branch_name
- Git branch to use for deployment (default: master
)geonode_version
- GeoNode version to install if this information is not included in the requirements.txt file (default: 2.6.3
)The app_name
variable will be used to set the database names and credentials. You can override this behavior with the following variables.
db_data_instance
- Database instance for spatial data (default: {{ app_name }}
)db_metadata_instance
- Database instance for the application metadata (default: {{ app_name }}_app
)db_password
- Database password (default: {{ app_name }}
)db_user
- Database user (default: {{ app_name }}
)You can also change the war used to deploy geoserver with the following variable.
geoserver_url
- GeoServer war URL (default: http://build.geonode.org/geoserver/latest/geoserver.war
)The following is an example playbook using variables. This playbook will be included in your geonode template project clone.
- hosts: webservers
remote_user: ubuntu
vars:
app_name: my_geonode
github_user: GeoNode
roles:
- { role: GeoNode.geonode }
Run with:
ansible-playbook --ask-become-pass ./playbook.yml
BSD
This repo is maintained by the GeoNode development team (https://github.com/GeoNode/geonode/blob/master/AUTHORS)