Manual merge of master into xovis branch

Eventually we want to have a gui that can set parameters for the entire installation.  I am trying to gather all variables that can be reasonably configured into vars/default_vars.yml so they are all visible in one place.

Some vars are more constants, like xovis_repo_url, and some are more configuration, like xovis_db_password.  This all needs to be worked out better when we get to the gui.

Tim

From: Martin Dluhos 
Sent: Thursday, July 03, 2014 9:42 AM
To: XSCE/xsce 
Cc: Tim Moody 
Subject: Re: [xsce] Manual merge of master into xovis branch (#145)

In vars/default_vars.yml:

> @@ -40,3 +40,17 @@ openvpn_enable: false
>  #Read docs/NETWORKING.rst
>  xsce_wan_iface: "{{ ansible_default_ipv4.interface }}"
>  xsce_lan_iface: auto
> +
> +# for role xovis
> +xovis_target_host: "127.0.0.1:5984"
> +xovis_deployment_name: olpc
> +
> +xovis_db_name: xovis
> +xovis_db_user: admin
> +xovis_db_password: admin
> +xovis_db_login: "{{ xovis_db_user }}:{{ xovis_db_password }}"
> +xovis_db_url: "http://{{ xovis_db_login }}@{{ xovis_target_host }}/{{ xovis_db_name }}"
> +
> +xovis_root: "/opt/xovis"
> +xovis_repo_url: "https://github.com/martasd/xovis.git"
> +xovis_chart_heading: "My School: Usage Data Visualization"
@tim-moody Why do you specify the same variables in two different places? Does it not suffice to include those in roles/xovis/vars/main.yml

—
Reply to this email directly or view it on GitHub.