ipad-wall-displays-ansible/ipads.yml

33 lines
1.0 KiB
YAML

- 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
- name: Add rpetrich Repo
copy:
content: |
deb https://rpetri.ch/repo/ ./
dest: /etc/apt/sources.list.d/rpetrich.list
# Can't use apt module because `python-apt` package doesn't exist
- name: Update apt sources
command: apt-get update
- 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/icon.png
dest: /var/mobile/Library/WebClips/reservations_display.webclip/
- name: Respring
command: killall SpringBoard