This commit is contained in:
2024-09-01 20:59:01 +03:00
parent 9717dca6a2
commit 51713c1756
2 changed files with 14 additions and 11 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"ansible.python.interpreterPath": "/bin/python"
}

View File

@@ -10,18 +10,18 @@
- net.ipv6.conf.lo.disable_ipv6 - net.ipv6.conf.lo.disable_ipv6
- net.ipv4.ip_forward - net.ipv4.ip_forward
notify: Reload the sysctl configuration notify: Reload the sysctl configuration
- name: Stop disable dnsmasq
service:
name: dnsmasq
state: stopped
enabled: false
- name: Start enable iptables # - name: Stop disable dnsmasq
service: # service:
name: iptables # name: dnsmasq
state: started # state: stopped
enabled: true # enabled: false
# - name: Start enable iptables
# service:
# name: iptables
# state: started
# enabled: true
- name: Get physical interfaces names - name: Get physical interfaces names
command: find /sys/class/net -type l -lname '*wlp*' -printf '%f\n' command: find /sys/class/net -type l -lname '*wlp*' -printf '%f\n'