diff --git a/hosts b/hosts
index d450033..864ffdf 100644
--- a/hosts
+++ b/hosts
@@ -1,7 +1,13 @@
+# -*- mode: yaml; -*-
+
ipads:
hosts:
iPad2:
iPad3:
+ reservation_tools:
+ - 3d printer, Lulzbot Taz 6
+ - 3d printer, Lulzbot Mini
+ - Laser Cutter, GLS Hybrid
vars:
ansible_ssh_user: mobile
ansible_ssh_pass: alpine
diff --git a/ipads.yml b/ipads.yml
index 18e043b..3f4c683 100644
--- a/ipads.yml
+++ b/ipads.yml
@@ -18,9 +18,14 @@
- name: Install packages
command: apt-get install -y --force-yes net.angelxwind.mikoto libactivator com.rpetrich.monocle
- name: Copy webclip
+ become: false
+ template:
+ src: reservations_display.webclip/Info.plist
+ dest: /var/mobile/Library/WebClips/reservations_display.webclip/
+ - name: Copy webclip icon
become: false
copy:
- src: reservations_display.webclip
- dest: /var/mobile/Library/WebClips/
+ src: reservations_display.webclip/icon.png
+ dest: /var/mobile/Library/WebClips/reservations_display.webclip/
- name: Respring
command: killall SpringBoard
diff --git a/reservations_display.webclip/Info.plist b/reservations_display.webclip/Info.plist
index a0fe6c3..9577683 100644
--- a/reservations_display.webclip/Info.plist
+++ b/reservations_display.webclip/Info.plist
@@ -17,6 +17,6 @@
UIStatusBarStyle
UIStatusBarStyleGray
URL
- http://10.12.42.247:8080/
+ https://reservations.claremontmakerspace.org/{% if reservation_tools is defined %}?tool={{ reservation_tools | map('urlencode') | join(';') }}{% endif %}