Skip to content
Snippets Groups Projects
Commit fe05fcfd authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

offline mode instructions

parent dad8db96
No related branches found
No related tags found
No related merge requests found
...@@ -78,12 +78,37 @@ make deploy i=inventories/local-mediaworker ...@@ -78,12 +78,37 @@ make deploy i=inventories/local-mediaworker
make deploy i=inventories/local-mediavault make deploy i=inventories/local-mediavault
``` ```
## Offline
### Requirements
- A local repository with at least all the Debian packages required by the installation, and the UbiCast packages provided in the tar archive
- A `/etc/apt/sources.list` configured to use the local repository
- A copy of the envsetup repository at `/root/envsetup`
- A copy of the configuration file generated by UbiCast located at `/root/envsetup/auto-generated-conf.sh`
### MediaWorker
```sh
cd ~/envsetup/
cp -v inventories/offline-mediaworker/host_vars/localhost{.dist,}.yml
./playbooks/mediaserver.yml -i inventories/offline-mediaworker/
```
### MediaServer
```sh
cd ~/envsetup/
cp -v inventories/offline-mediaserver/host_vars/localhost{.dist,}.yml
./playbooks/mediaserver.yml -i inventories/offline-mediaserver/
```
## Known issues ## Known issues
- Proxy - Proxy
If output trafic on the remote hosts is allowed only through a proxy, the deployment will fail. If output trafic on the remote hosts is allowed only through a proxy, the deployment will fail.
It won't be able to locally clone repositry and get host configuration file from mirismanager.ubicast.eu. It won't be able to locally clone repository and get host configuration file from mirismanager.ubicast.eu.
For "remote" deployment you have to set the proxy settings in the inventory variables, in `inventories/my-customer/group_vars/all.yml`: For "remote" deployment you have to set the proxy settings in the inventory variables, in `inventories/my-customer/group_vars/all.yml`:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment