Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Remove detection/auto-removal of legacy Janus package (#106)
Browse files Browse the repository at this point in the history
Resolves
#104.

TinyPilot Pro’s 2.5.4 release was a checkpoint version, so apart from
(hopefully) few Community users, the check and auto-removal of the
legacy Janus package isn’t needed any longer.
<a data-ca-tag
href="https://codeapprove.com/pr/tiny-pilot/ansible-role-ustreamer/106"><img
src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review
on CodeApprove" /></a>
  • Loading branch information
jotaen4tinypilot authored May 9, 2023
1 parent f5e7036 commit 657c2dd
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tasks/install_janus.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
---
- name: check if legacy Janus package is installed
shell: dpkg-query --show --showformat='${Maintainer}' janus | grep TinyPilot
register: ustreamer_is_legacy_janus_installed
ignore_errors: yes
changed_when: false

- name: determine if legacy Janus package is installed
set_fact:
ustreamer_is_legacy_janus_installed: "{{ ustreamer_is_legacy_janus_installed.stdout != '' }}"

- name: uninstall legacy Janus package
apt:
name: janus
state: absent
when: ustreamer_is_legacy_janus_installed

- name: install apt_key dependency
apt:
name: gnupg
Expand Down

0 comments on commit 657c2dd

Please sign in to comment.