Ansible version of OpenDroneMap build script.
Name | Description | Example | Default |
---|---|---|---|
opendronemap_work_dir | Directory for sources | "{{ ansible_env.HOME }}/ansible/OpenDroneMap" | "{{ ansible_env.HOME }}/OpenDroneMap" |
---
- hosts: opendronemap
roles:
- opendronemap
vars:
opendronemap_work_dir: "{{ ansible_env.HOME }}/OpenDroneMap"
Install Ansible by pip
:
> sudo apt-get install python-pip python-dev
> sudo pip install ansible
> ansible --version
ansible 2.1.1.0
Clone to directory opendronemap
(name of the directory is important - it's a name of the role):
> git clone https://github.com/qedsoftware/ansible-opendronemap opendronemap
> cd opendronemap
[opendronemap>
Run playbook with local inventory. Note that since script must install some
packages as root
we should provide a password:
[opendronemap]> ansible-playbook --inventory-file local local.yml --ask-become-pass --connection=local
BSD
Ruslan Baratov <[email protected]>