Skip to content

Commit

Permalink
Ensure lsb-release is installed. (#1215)
Browse files Browse the repository at this point in the history
Part of tiny-pilot/ansible-role-ustreamer#77

As mention in
tiny-pilot/ansible-role-ustreamer#78 (comment):
> To accurately distinguish between Raspberry Pi OS and Debian, we need
to use the `ansible_lsb.id` fact because
`ansible_distribution=='Debian'` for both OSs. This fact is [only
defined if the `lsb-release` apt packages has been
installed](https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_conditionals.html#conditionals-based-on-ansible-facts)
prior to ansible gathering facts.
<a data-ca-tag
href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1215"><img
src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review
on CodeApprove" /></a>
  • Loading branch information
jdeanwallace authored Dec 5, 2022
1 parent 3c4193b commit e1c3647
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bundler/bundle/install
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ apt-get install -y \
libffi-dev \
libssl-dev \
python3-dev \
python3-venv
python3-venv \
lsb-release

python3 -m venv venv
# shellcheck disable=SC1091 # Don’t follow sourced script.
Expand Down

0 comments on commit e1c3647

Please sign in to comment.