Comment on page

Install Analytic on Camera

1.Fresh Installation Create a file with a name=inventory and with the following lines:
[abilitycamera:vars]
ansible_connection=ssh
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
ansible_user=<user>
ansible_ssh_pass=<password>
ansible_ssh_port=<port>
abilitycamera_resource_path=/workspace/resource
abilitycamera_resource_target_path=/mnt
#resource_lib_update=/workspace/resource/libasyik.so.1.4 /workspace/resource/libboost.so.1.4
[abilitycamera]
192.168.100.111
192.168.100.112
192.168.100.113
192.168.100.114
192.168.100.1xx
<continue list of ip address>
2. Ansible command with reboot, run this command in the same directory of inventory file
docker run --rm --network host -t \
-v $(pwd)/inventory:/workspace/inventory \
registry.gitlab.com/nodefluxio/ability-edge-camera:0.1.0 \
-i /workspace/inventory /workspace/playbook/abilitycamera_wreboot_install.yml
3. Ansible command without reboot, run this command in the same directory of inventory file
docker run --rm --network host -t \
-v $(pwd)/inventory:/workspace/inventory \
registry.gitlab.com/nodefluxio/ability-edge-camera:0.2.0 \
-i /workspace/inventory /workspace/playbook/abilitycamera_install.yml
If during installation you meet a bad connection/ disconnected, Please retry the ansible command in point 2 or point 3