Skip to content

Commit

Permalink
Cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Aug 23, 2019
1 parent 89b7f2c commit 91cc3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/fix-dropped-ssh-sessions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: check if conntrack exists
stat:
path: /proc/sys/net/netfilter/nf_conntrack_tcp_be_liberal
register: nf_conntrack_tcp_be_liberal
register: _nf_conntrack_tcp_be_liberal

- name: fix dropped ssh sessions | configure kernel
sysctl:
Expand All @@ -12,6 +12,6 @@
state: present
sysctl_set: true
reload: true
when: nf_conntrack_tcp_be_liberal.stat.exists
when: _nf_conntrack_tcp_be_liberal.stat.exists
tags:
- ufw-fix-dropped-ssh-sessions-configure-kernel

0 comments on commit 91cc3f3

Please sign in to comment.