forked from ANXS/fail2ban
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from Oefenweb/cs-fixes
Make use of fully-qualified collection name
- Loading branch information
Showing
7 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
FROM ubuntu:16.04 | ||
FROM ubuntu:18.04 | ||
MAINTAINER Mischa ter Smitten <[email protected]> | ||
|
||
ENV LANG C.UTF-8 | ||
ENV LC_ALL C.UTF-8 | ||
|
||
# python | ||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y python-minimal python-dev curl && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y python3-minimal python3-dev curl && \ | ||
apt-get clean | ||
RUN curl -sL https://bootstrap.pypa.io/pip/2.7/get-pip.py | python - | ||
RUN curl -sL https://bootstrap.pypa.io/pip/3.6/get-pip.py | python3 - | ||
RUN rm -rf $HOME/.cache | ||
|
||
# ansible | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gcc libffi-dev libssl-dev && \ | ||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3-apt && \ | ||
apt-get clean | ||
RUN pip install ansible==2.9.15 | ||
RUN pip3 install ansible==2.10.7 | ||
RUN rm -rf $HOME/.cache | ||
|
||
# provision | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# handlers file | ||
--- | ||
- name: restart fail2ban | ||
service: | ||
ansible.builtin.service: | ||
name: fail2ban | ||
state: restarted | ||
when: service_default_state | default('started') == 'started' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
collections: | ||
- name: community.docker | ||
version: '>=1.2.0,<2' | ||
- name: community.general | ||
version: '>=2,<3' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# requirements file | ||
--- | ||
collections: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters