- Ubuntu 16.04 LTS (Xenial)
- Debian 8 (Jessie)
- Debian 9 (Stretch)
habarshi_path
:"/opt/habarshi"
- Habarshi server binaries and config files destination pathhabarshi_keys_path
:"{{habarshi_path}}/keys"
- SSL certificate and key file destinationhabarshi_domain
:"habarshi.local"
- Habarshi server domain namehabarshi_subnet
:"192.168.8.0/24"
- Docker containers virtual network subnethabarshi_gateway
:"192.168.8.1"
- Docker containers virtual network gatewayhabarshi_db_ip
:"192.168.8.2"
- Habarshi database server local network addresshabarshi_ip
:"192.168.8.4"
- Habarshi server local network addresshabarshi_db_user
:"root"
- Habarshi database userhabarshi_db_pass
:"root"
- Habarshi database user passwordhabarshi_db_name
:"habarshi"
- Habarshi database name
- Register your personal HABARSHI subdomain https://panel.habarshi.com/
- Set
habarshi_domain
parameter to actual value, for example, if your domain =my_domain.habarshi.com
, sethabarshi_domain: "my_domain.habarshi.com"
- Install any client (https://panel.habarshi.com/home) and login as
<login>@my_domain
Default admin: root Default admin password: asisaka - you should change it to more strong password value
-
Install on localhost:
sudo ansible-pull -e habarshi_domain=<subdomain>.habarshi.com -e habarshi_db_pass=<your db password> -U https://github.com/habarshi/ansible.git localhost.yml
-
Install on remote host, see example.yml https://github.com/habarshi/ansible/blob/master/example.yml playbook (Type:
ansible-playbook example.yml
) -
OR Navigate to example page https://github.com/habarshi/ansible/tree/master/example and up virtual machine
Place your SSL certificate and private key file to habarshi_keys_path
directory:
- habarshi.crt
- habarshi.key
if certificate habarshi.crt
file will not be found, self-signed crtificates will be generated