ipad-wall-displays-ansible/ipads.yml

36 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2021-11-17 01:37:55 -05:00
- name: ipad setup
hosts: ipads
gather_facts: no
become: true
tasks:
- name: Add Karen's Repo
copy:
content: |
deb http://cydia.akemi.ai/ ./
dest: /etc/apt/sources.list.d/akemi.list
# Can't use apt module because `python-apt` package doesn't exist
2021-11-17 01:37:55 -05:00
- name: Update apt sources
command: apt-get update
2021-11-17 01:37:55 -05:00
- name: Install packages
2022-12-19 17:51:31 -05:00
command: apt-get install -y --force-yes net.angelxwind.mikoto libactivator be.rud0lf77.maximization com.ericasadun.utilities veency
2021-11-17 01:37:55 -05:00
- name: Copy webclip
become: false
template:
src: reservations_display.webclip/Info.plist
dest: /var/mobile/Library/WebClips/reservations_display.webclip/
- name: Copy webclip icon
2021-11-17 01:37:55 -05:00
become: false
copy:
src: reservations_display.webclip/icon.png
dest: /var/mobile/Library/WebClips/reservations_display.webclip/
2022-12-19 17:51:31 -05:00
- name: Create/update Veency plist
become: false
shell: |
VEENCY_PLIST=/var/mobile/Library/Preferences/com.saurik.Veency.plist
[ -f $VEENCY_PLIST ] || plutil -create $VEENCY_PLIST
plutil -binary $VEENCY_PLIST
plutil -key Password -string {{ lookup('passwordstore', 'servers/cms/vnc@ipads') | d(omit) }} $VEENCY_PLIST
plutil -key ShowCursor -false $VEENCY_PLIST
2021-11-17 01:37:55 -05:00
- name: Respring
command: killall SpringBoard