Skip to content

Commit

Permalink
fix: set vault_os_packages for RedHat
Browse files Browse the repository at this point in the history
  • Loading branch information
dotdiego authored and bbaassssiiee committed Sep 29, 2022
1 parent 1e519d7 commit 293f7ad
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion vars/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@
# File: vars/RedHat.yml - Red Hat vars for Vault

vault_os_packages:
- libselinux-python
- "{% if ( ansible_distribution == 'Fedora' and ansible_distribution_version is version('28', '<') ) or \
( ansible_distribution == 'CentOS' and ansible_distribution_version is version('8', '<') ) or \
( ansible_distribution == 'Amazon' and ansible_distribution_version is version('3', '<') ) or \
( ansible_distribution == 'OracleLinux' and ansible_distribution_version is version('8', '<') ) \
%}\
libselinux-python\
{% else %}\
python3-libselinux\
{% endif %}"
- git
- unzip

Expand Down

0 comments on commit 293f7ad

Please sign in to comment.