spark/roles/mapping/tasks/main.yml
Pig Monkey cbd2025ba7 add showme script for sat images
Mostly stolen from:
https://github.com/mapbox/mapbox-cli-py/blob/master/examples/static_maps.md

In i3, float the window for maximum awesome.

    for_window [title="^showme$"] floating enable

Set your $MAPBOX_ACCESS_TOKEN in your shell. Then:

    $ showme seattle
    $ showme "1600 pennsylvania ave nw 20006" 18
2016-02-26 17:51:59 -08:00

25 lines
560 B
YAML

---
- name: Install Viking
pacman: name=viking state=present
- name: Install gpxpy
aur: name=python-gpxpy user={{ user.name }}
tags:
- aur
- name: Install OpenCPN
aur: name=opencpn-git user={{ user.name }}
tags:
- aur
- name: Install mapboxcli into virtualenv
pip: name=mapboxcli
virtualenv=/usr/local/env/mapbox
- name: Link mapboxcli to bin
file: src=/usr/local/env/mapbox/bin/mapbox
dest=/usr/local/bin/mapbox
state=link
- name: Push showme script
copy: src=showme.sh dest=/usr/local/bin/showme mode=0755