Skip to content
Snippets Groups Projects
Commit 252ab2bf authored by jurgenhaas's avatar jurgenhaas
Browse files

Adjustments for Ubuntu 18 installations

parent 5273ee23
No related branches found
No related tags found
No related merge requests found
......@@ -35,11 +35,24 @@
- name: Fix for Python3
command: sed -i 's/xrange/range/g' /tmp/fail2ban-{{ fail2ban_version }}/fail2ban/__init__.py
- name: Downgrade Setuptools
pip:
executable: pip3
name: setuptools
state: present
version: 57
- name: Install
shell: python3 setup.py install --install-lib=/usr/lib/python3/dist-packages
args:
chdir: /tmp/fail2ban-{{ fail2ban_version }}
- name: Upgrade Setuptools
pip:
executable: pip3
name: setuptools
state: latest
- name: Copy Service Script
copy:
src: /tmp/fail2ban-{{ fail2ban_version }}/build/fail2ban.service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment