diff --git a/tasks/swift_storage_hosts_setup.yml b/tasks/swift_storage_hosts_setup.yml index f7a5d846..335c3a7c 100644 --- a/tasks/swift_storage_hosts_setup.yml +++ b/tasks/swift_storage_hosts_setup.yml @@ -13,6 +13,18 @@ # See the License for the specific language governing permissions and # limitations under the License. +- name: "Enable nf_conntrack" + modprobe: + name: "nf_conntrack" + state: present + +- name: "Set sysctl tcp_tw_reuse" + sysctl: + name: "net.ipv4.tcp_tw_reuse" + state: present + value: "1" + sysctl_set: yes + # We need swift_vars to exist for the "swift_vars.drives is defined check" to work - name: "Set swift_vars if undefined" set_fact: