Skip to content

Commit

Permalink
Fix libcgroup dependency in Debian 12 and Ubuntu >= 22.10
Browse files Browse the repository at this point in the history
Co-authored-by: deltabweb <deltabweb@gmail.com>
  • Loading branch information
deltabweb authored Jan 5, 2024
1 parent 2b731dc commit 1a576a9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
nomad_os_packages:
- curl
- git
- libcgroup1
- "{% if ( ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('22.10', '<') ) or \
( ansible_distribution == 'Debian' and ansible_distribution_version is version('12', '<') ) \
%}\
libcgroup1\
{% else %}\
libcgroup2\
{% endif %}"
- unzip
- "{% if ( ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('19', '<') ) or \
( ansible_distribution == 'Debian' and ansible_distribution_version is version('11', '<') ) \
Expand Down

0 comments on commit 1a576a9

Please sign in to comment.