Difference between revisions of "Installation/Ubuntu/Ansible"

From diaspora* project wiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
{{UnsupportedEnvironment}}
 +
 
If you are a bit familiar with Ansible you could use [https://github.com/eraclitux/ansible-diaspora this role] to make a production installation of Diaspora. Parallel multiple pods installation is supported.
 
If you are a bit familiar with Ansible you could use [https://github.com/eraclitux/ansible-diaspora this role] to make a production installation of Diaspora. Parallel multiple pods installation is supported.
  

Latest revision as of 14:58, 17 October 2018

»» Important
The following instructions are maintained by community contributors and describe the installation inside an environment not supported by the diaspora* team.

Due to the nature of these installations, diaspora* might not work, have some limitations, or encounter unexpected issues. The diaspora* team might not be able to help you with troubleshooting your installation. Proceed at your own risk.

Please check our official installation guides for information on how to install diaspora* inside a supported environment.


If you are a bit familiar with Ansible you could use this role to make a production installation of Diaspora. Parallel multiple pods installation is supported.

Define one on more hosts in your inventory file like this:

       [diaspora-pods]
       targetmachine1.net diaspora_url=pod.ofmine.tld
       targetmachine2.net diaspora_url=anotherpod.ofmine.tld

It is mandatory to provide valid TLS certs. They must be named like pod's public url setted in diaspora_url for example pod.ofmine.crt and pod.ofmine.tld.key.

Create a file called diaspora.yml containing:

       - hosts: diaspora-pods 
         roles:
         - diaspora

Than to install you pods just issue:

        $ ansible-playbook diaspora.yml

That's all! Start Dispora as usual (in screen or tmux):

       # sudo -i -u diaspora
       $ ./diaspora/script/server