Commit 9b9cdecb authored by Joanne Hugé's avatar Joanne Hugé

playbook/ors: replace MME init script with playbook

MME init script installs unwanted ip6tables rules
which breaks re6st
parent 30962bca
#!/bin/bash
AMARISOFT_PATH="/opt/amarisoft/$(ls -1 /opt/amarisoft | grep "^v[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}.*[0-9]*$" | sort | tail -n1)"
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH"
$AMARISOFT_PATH/mme/lte_init.sh;
# Obsolete, kept for backwards compatibility
......@@ -152,6 +152,15 @@
- name: Configure IPv6 forwarding
lineinfile: dest=/etc/sysctl.conf regexp="^net.ipv6.conf.all.forwarding=(.*)" line="net.ipv6.conf.all.forwarding=1" state=present
- name: Improve network stack behaviour (for core network)
lineinfile: dest=/etc/sysctl.conf regexp="^net.ipv4.tcp_congestion_control=(.*)" line="net.ipv4.tcp_congestion_control=bbr" state=present
- name: Improve network stack behaviour (for core network)
lineinfile: dest=/etc/sysctl.conf regexp="^net.core.rmem_max=(.*)" line="net.core.rmem_max=50000000" state=present
- name: Improve network stack behaviour (for core network)
lineinfile: dest=/etc/sysctl.conf regexp="^net.core.wmem_max=(.*)" line="net.core.wmem_max=5000000" state=present
- name: Redirect 53 to 5353
ansible.builtin.iptables:
chain: PREROUTING
......
Markdown is supported
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