Compare commits

...

2 commits

7 changed files with 22 additions and 2 deletions

0
deploy-dispatchers.sh Normal file → Executable file
View file

0
deploy-frames.sh Normal file → Executable file
View file

0
deploy-software-updates.sh Normal file → Executable file
View file

0
deploy-wireguard.sh Normal file → Executable file
View file

View file

@ -8,10 +8,30 @@
- name: Update installed packages - name: Update installed packages
apt: apt:
upgrade: dist upgrade: dist
- name: Update restic
command: restic self-update
- name: /usr/bin/rclone rclone - name: /usr/bin/rclone rclone
shell: curl https://rclone.org/install.sh | bash shell: curl https://rclone.org/install.sh | bash
ignore_errors: yes ignore_errors: yes
- name: Update FileBrowser - name: Update FileBrowser
shell: curl -fsSL https://filebrowser.org/get.sh | bash shell: curl -fsSL https://filebrowser.org/get.sh | bash
- name: Update core PiFrame utils
shell: |
DL_URL=$(curl -s https://git.kemonine.info/api/v1/repos/PiFrame/piframe-go/releases | jq -r '.[0].assets[] | select(.name == "fan") | .browser_download_url')
wget $DL_URL -O /usr/local/bin/pf-fan
chmod a+x /usr/local/bin/pf-fan
systemctl restart argon-fan.service
DL_URL=$(curl -s https://git.kemonine.info/api/v1/repos/PiFrame/piframe-go/releases | jq -r '.[0].assets[] | select(.name == "wifi") | .browser_download_url')
wget $DL_URL -O /usr/local/bin/pf-wifi
chmod a+x /usr/local/bin/pf-wifi
DL_URL=$(curl -s https://git.kemonine.info/api/v1/repos/PiFrame/piframe-go/releases | jq -r '.[0].assets[] | select(.name == "gui") | .browser_download_url')
wget $DL_URL -O /usr/local/bin/pf-ui
chmod a+x /usr/local/bin/pf-ui
systemctl restart pf-ui.service
DL_URL=$(curl -s https://git.kemonine.info/api/v1/repos/PiFrame/piframe-go/releases | jq -r '.[0].assets[] | select(.name == "inotify") | .browser_download_url')
wget $DL_URL -O /usr/local/bin/pf-inotify
chmod a+x /usr/local/bin/pf-inotify
systemctl restart inotify-pictures.service
DL_URL=$(curl -s https://git.kemonine.info/api/v1/repos/PiFrame/piframe-go/releases | jq -r '.[0].assets[] | select(.name == "hdmi") | .browser_download_url')
wget $DL_URL -O /usr/local/bin/pf-hdmi
chmod a+x /usr/local/bin/pf-hdmi
systemctl restart hdmi-on-off.service

0
setup-additional-wireguard-client.sh Normal file → Executable file
View file

0
setup-ansible-host.sh Normal file → Executable file
View file