Skip to content

Commit

Permalink
Add 2to3 package
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Nov 19, 2024
1 parent 2f6277b commit 83b1f37
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tasks/wn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@
- name: Link export dir
file: path=/export src={{galaxy_export_dir}} state=link

- name: Link galaxy_env dir
file: path=/galaxy_venv src={{galaxy_export_dir}}/galaxy_venv state=link

- name: install Galaxy dependences in Deb systems
apt: name=libz-dev,python3-crypto update_cache=yes cache_valid_time=3600
apt: name=libz-dev,python3-crypto,2to3 update_cache=yes cache_valid_time=3600
when: ansible_distribution == "Debian"

- name: install Galaxy dependences in RedHat systems 7
yum: name=zlib-devel,python36-crypto
when: ansible_os_family == "RedHat" and ansible_distribution_major_version|int < 8

- name: install Galaxy dependences in RedHat systems 8+
yum: name=zlib-devel
yum: name=zlib-devel,python-tools
when: ansible_os_family == "RedHat" and ansible_distribution_major_version|int >= 8

- name: Install GPG key of forensics repo
Expand Down

0 comments on commit 83b1f37

Please sign in to comment.