소스 검색

playing with the firewall config

aeth 9 달 전
부모
커밋
5ad1866167
2개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 1
      files/vpn/packages.txt
  2. 1 4
      tasks/tasks_machine_configuration/vpn/server/task_machine_configuration.yml

+ 0 - 1
files/vpn/packages.txt

@@ -1,4 +1,3 @@
 firewalld
 wireguard-tools
 ufw
-pexpect

+ 1 - 4
tasks/tasks_machine_configuration/vpn/server/task_machine_configuration.yml

@@ -10,10 +10,7 @@
   ansible.builtin.command: ufw disable
 
 - name: "10: last UFW configurion i promise"
-  ansible.builtin.expect:
-    command: ufw enable
-    responses:
-      "Command may disrupt existing ssh connections. Proceed with operation (y|n)?": "y"
+  ansible.builtin.command: ufw --force enable
 
 
 - name: "00: Create Wireguard directory"