diff --git a/README.md b/README.md index 08c4ef3..630db0a 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,9 @@ Role Variables * `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`) The `app_name` variable will be used to set the database names and credentials. You can override this behavior with the following variables. diff --git a/defaults/main.yml b/defaults/main.yml index cc9e9c8..48cc442 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -14,7 +14,7 @@ github_user: GeoNode # git repository name # defaults to the application name, but should be overriden if diffent -repo_name: my_geonode +repo_name: "{{ app_name }}" # remote git repository to pull application code from, for example: code_repository: "https://github.com/{{ github_user }}/{{ repo_name }}.git"