<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Ana,<div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; line-break: after-white-space;"><div class="">Before installing Geonode 2.8 with ansible playsbooks, let me ask you is Geonode importer fixed in Geonode 2.8 installed with ansible? </div></div></blockquote><div><br class=""></div><div>The ansible playbook installs GeoNode in its standard configuration.</div><div>Unfortunately I cannot say if this issue still exist. But as with the viewer hooksets</div><div>you could just change the setup for your needs after installation. For example</div><div>integrate osgeo-importer as alternative.</div><div><a href="https://github.com/GeoNode/django-osgeo-importer" class="">https://github.com/GeoNode/django-osgeo-importer</a></div><div><br class=""></div><div><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; line-break: after-white-space;"><div class="">Another question is should I install ansible on separate VM or could it be on the same machine with Geonode ?</div></div></blockquote></div><div><br class=""></div><div>You would install ansible on your local computer.</div><div>Define your target server(s) in the host file (valid user and ssh key needed.)</div><div>Then ansible logs into your server and installs everything.</div><div><br class=""></div><div>I highly recommend to visit the official ansible documentation.</div><div>Normally its used to orchestrate a whole bunch of instances.</div><div>For example you could check for updates, change user permissions</div><div>or whatever your needs on your whole server infrastructure</div><div>In one shot.</div><div><br class=""></div><div><a href="https://www.ansible.com/resources/videos/quick-start-video" class="">https://www.ansible.com/resources/videos/quick-start-video</a></div><div><a href="https://docs.ansible.com/ansible/latest/index.html" class="">https://docs.ansible.com/ansible/latest/index.html</a></div><div><br class=""></div><div><br class=""></div><div><blockquote type="cite" class=""><div class="" style="word-wrap: break-word; line-break: after-white-space;"><div class="">I don't see in your guide how to choose Branch: 2.8 or Master ?</div></div></blockquote><br class=""></div><div>It´s just the other branch.</div><div>For master: git clone <a href="https://github.com/csgis/geonode_ansible" class="">https://github.com/csgis/geonode_ansible</a></div><div>For 2.8: git clone <a href="https://github.com/csgis/geonode_ansible" class="">https://github.com/csgis/geonode_ansible</a> -b 2.8</div><div><br class=""></div><div>Somewhere in issues I’ve read that master (2.10 rc4) can be seen as</div><div>stable means its worth to give the master branch a try.</div><div><br class=""></div><div>Cheers,</div><div><br class=""></div><div>Toni </div><div><br class=""><blockquote type="cite" class=""><div class="">Am 03.11.2018 um 19:29 schrieb Ana Boljevic <<a href="mailto:ana.boljevic@cedis.me" class="">ana.boljevic@cedis.me</a>>:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
<meta content="text/html; charset=utf-8" class="">
<div class="" style="word-wrap:break-word; line-break:after-white-space">
Dear Toni,
<div class=""><br dir="auto" class="">
Before installing Geonode 2.8 with ansible playsbooks, let me ask you is Geonode importer fixed in Geonode 2.8 installed with ansible? Because I think that this issue (importing of kml files) still remains on regular Geonode 2.8 stable:<br dir="auto" class="">
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/pipermail/geonode-users/2018-April/004230.html" target="_BLANK" dir="auto">https://lists.osgeo.org/pipermail/geonode-users/2018-April/004230.html</a><br dir="auto" class="">
Another question is should I install ansible on separate VM or could it be on the same machine with Geonode ?<br dir="auto" class="">
I don't see in your guide how to choose Branch: 2.8 or Master ?</div>
<div class=""><br dir="auto" class="">
Regards,</div>
<div class=""><br class="">
</div>
<div class="">Ana</div>
<div class=""><br class="">
</div>
<br class="">
<br class="">
-------- Original message --------<br class="">
From: Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" class="">toni.schoenbuchner@csgis.de</a>> <br class="">
Date: 11/3/18 10:26 (GMT+01:00) <br class="">
To: Ana Boljevic <<a href="mailto:ana.boljevic@cedis.me" class="">ana.boljevic@cedis.me</a>> <br class="">
Cc: geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a>> <br class="">
Subject: Re: [GeoNode-users] ➜ Two ansible playbooks <br class="">
<br class="">
<div class="">Hi Ana,
<div class=""><br class="">
<div class="">
<blockquote type="cite" class="">
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class="">So do you suggest to install/try first: 2.8 or master?</div>
</div>
</blockquote>
</div>
<div class=""><br class="">
</div>
<div class="">For production I personally stick with 2.8 as master is to volatile.</div>
<div class="">But for a test run I would currently suggest the master branch.</div>
<div class="">(Reason: <a href="https://github.com/GeoNode/geonode-project/issues/49" class="">
https://github.com/GeoNode/geonode-project/issues/49</a>)</div>
<div class="">
<div class=""><br class="">
</div>
<div class="">
<blockquote type="cite" class="">
<div class="" style="word-wrap:break-word; line-break:after-white-space">
<div class="">Another question: do you have guide for installing Mapstore2/Leaflet into your appliance ?</div>
</div>
</blockquote>
The ansible Playbook just automates all required steps from the official</div>
<div class="">Ubuntu Install-Documentation:</div>
<div class=""><a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" class="">http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html</a></div>
<div class="">Hence you end up with a server instance which you can adjust to </div>
<div class="">your needs just SSH into it. By default the playbook installs geonode in the users home dir:</div>
<div class=""><a href="https://github.com/csgis/geonode_ansible/blob/master/group_vars/all#L17" class="">https://github.com/csgis/geonode_ansible/blob/master/group_vars/all#L17</a></div>
<div class=""><br class="">
</div>
<div class="">Then adding MapStore is quite simple:</div>
<div class=""><a href="https://github.com/geosolutions-it/geonode-mapstore-client#integrating-into-geonodedjango" class="">https://github.com/geosolutions-it/geonode-mapstore-client#integrating-into-geonodedjango</a></div>
<div class=""><br class="">
</div>
<div class="">Leaflet as well, just enable the leaflet_hookset (comment the others)</div>
<div class=""><a href="https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L1223" class="">https://github.com/GeoNode/geonode/blob/master/geonode/settings.py#L1223</a></div>
<div class=""><br class="">
</div>
<div class="">Of course both steps could be automated with ansible as well.</div>
<div class="">One would change the local_settings template, which is copied on build</div>
<div class="">and in case of MapStore extend the pip install step.</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class=""><br class="">
</div>
<div class="">Toni</div>
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">Am 02.11.2018 um 22:17 schrieb Ana Boljevic <<a href="mailto:ana.boljevic@cedis.me" class="">ana.boljevic@cedis.me</a>>:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta content="text/html; charset=utf-8" class="">
<div class="" style="word-wrap:break-word; line-break:after-white-space">Dear Toni,
<div class=""><br dir="auto" class="">
Congratulations! </div>
<div class=""><br dir="auto" class="">
So do you suggest to install/try first: 2.8 or master?<br dir="auto" class="">
Another question: do you have guide for installing Mapstore2/Leaflet into your appliance ?</div>
<div class=""><br dir="auto" class="">
Kind regards,</div>
<div class=""><br class="">
</div>
<div class="">Ana :)</div>
<br class="">
<br class="">
-------- Original message --------<br class="">
From: Toni Schönbuchner <<a href="mailto:toni.schoenbuchner@csgis.de" class="">toni.schoenbuchner@csgis.de</a>>
<br class="">
Date: 11/2/18 08:24 (GMT+01:00) <br class="">
To: geonode-users <<a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a>>, geonode-devel <<a href="mailto:geonode-devel@lists.osgeo.org" class="">geonode-devel@lists.osgeo.org</a>>
<br class="">
Cc: "Lian Feng (lfeng)" <<a href="mailto:lfeng@memphis.edu" class="">lfeng@memphis.edu</a>>
<br class="">
Subject: [GeoNode-users] ➜ Two ansible playbooks <br class="">
<br class="">
<div class="">
<div class="">Dear Community,</div>
<div class=""><br class="">
</div>
<div class="">find here two new Ansible playbooks: <a href="https://github.com/csgis/geonode_ansible" class="">
https://github.com/csgis/geonode_ansible</a></div>
<div class="">which will install/configure geonode 2.8 or master (different branches) on an Ubuntu </div>
<div class="">instance. The Setup uses geonode_project, plus the full Tomcat, Apache … stack.</div>
<div class=""><br class="">
</div>
<div class="">These Tasks-only playbooks can be used for a quick hit and run </div>
<div class="">and do not offer any code reuse opportunities by definition of roles or best practices</div>
<div class="">like Ansible directory layout ...</div>
<div class=""><br class="">
</div>
<div class="">On the other hand they stay close to the official documentation. Hence it should</div>
<div class="">be easy for you to understand what’s happening why and when. </div>
<div class=""><br class="">
</div>
<div class="">To get in running (check README)</div>
<div class="">= = = = = = = = = = = = = = = = = = = </div>
<div class="">1) install Ansible [1]</div>
<div class="">2) clone the repository</div>
<div class="">3) check that your instance can be reached by use of ssh key auth and that python Is installed.</div>
<div class="">4) setup your instance in the host file </div>
<div class="">5) adjust the vars like Geoserver password etc. to your needs</div>
<div class="">6) get a cup of coffee and let Ansible do the hard work.</div>
<div class="">7) Ansible will fail fast if something goes wrong if not log in with admin/admin and test.</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">= = = = = </div>
<div class="">I´ve tested the playbooks locally and at some AWS Instances</div>
<div class="">feedback, problems etc. very welcome !</div>
<div class="">= = = = = </div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class="">– Toni</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">[1] If you never heard about it, ansible is an orchestration software for servers.</div>
<div class="">The software runs defined tasks against one or many instances, Installation:</div>
<div class=""><a href="https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html" class="">https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html</a></div>
<br class="">
<div class="">
<div class="" style="letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word">
<div class="" style="letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word">
<div class="" style="letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word">
<div class="" style="letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; word-wrap:break-word">
<div class="">
<div class="" style="word-wrap:break-word">
<div class="">
<div class="">-----------------------------------------------</div>
<div class="">CSGIS</div>
<div class=""><br class="">
</div>
<div class="">-----------------------------------------------</div>
<div class="">
<div class="" style="orphans:2; widows:2">Kolonnadenstraße 1</div>
<div class="" style="orphans:2; widows:2">04109 Leipzig</div>
</div>
<div class="">-----------------------------------------------</div>
<div class="">Mobil<span class="Apple-tab-span" style="white-space:pre"> </span>+49/ (0) 176 6680 3198</div>
<div class="">Tel <span class="Apple-tab-span" style="white-space:pre"> </span>+49/ (0) 341 24 04 738</div>
<div class="">Fax <span class="Apple-tab-span" style="white-space:pre"> </span>+49/ (0) 341 24 04 73</div>
<div class="">Web<span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://csgis.de/" class="">http://csgis.de</a></div>
<div class="">-----------------------------------------------</div>
<div class=""><br class="">
</div>
<div class="">Hinweis gemäß § 33 BDSG</div>
<div class="">Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div>
<div class="">Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div>
<div class="">erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div>
<div class="">von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div>
<div class="">Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</div>
</div></blockquote></div><br class=""></div></body></html>