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

@@ -11,17 +11,17 @@
- net.ipv4.ip_forward - net.ipv4.ip_forward
notify: Reload the sysctl configuration notify: Reload the sysctl configuration
- name: Stop disable dnsmasq # - name: Stop disable dnsmasq
service: # service:
name: dnsmasq # name: dnsmasq
state: stopped # state: stopped
enabled: false # enabled: false
- name: Start enable iptables # - name: Start enable iptables
service: # service:
name: iptables # name: iptables
state: started # state: started
enabled: true # 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'