Commit 05c162d3 authored by Jürgen Haas's avatar Jürgen Haas
Browse files

Remove python2

Use fail2ban only on webservers
parent fb516f6f
......@@ -47,4 +47,5 @@
company: '{{ lookup("env", "ANSIBLE_COMPANY") }}'
hostname: '{{ inventory_hostname }}'
mode: 'verify'
ignore_errors: yes
tags: verify
......@@ -22,6 +22,7 @@
- php
- memcache
- redis
- fail2ban
- name: Log servers
hosts: "logserver"
......@@ -39,7 +40,6 @@
- spideroak
- fluentd-client
- gcloud
- fail2ban
- gitlab-client
- borgbackup
......
......@@ -33,8 +33,6 @@
failed_when: no
- name: InitHost | Update APT
shell: "ssh -o ControlMaster=no {{ initauth }} -o IdentitiesOnly=yes {{ inituser }}@{{ inithostip|default(static_ipv4) }} 'sudo apt-get -y update'"
- name: InitHost | Prepare remote Python
shell: "ssh -o ControlMaster=no {{ initauth }} -o IdentitiesOnly=yes {{ inituser }}@{{ inithostip|default(static_ipv4) }} 'sudo apt-get -y install python2.7 python-simplejson'"
- name: Prepare 2
hosts: "{{ host }}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment