install-nebula-lighthouses.yml 446 B

123456789101112131415161718192021
  1. ---
  2. - hosts: lighthouses
  3. become: true
  4. tasks:
  5. - name: Allow UDP 4242
  6. ansible.builtin.iptables:
  7. action: insert
  8. chain: INPUT
  9. protocol: udp
  10. match: udp
  11. destination_port: 4242
  12. jump: ACCEPT
  13. - name: Allow TCP 4242
  14. ansible.builtin.iptables:
  15. action: insert
  16. chain: INPUT
  17. protocol: tcp
  18. match: tcp
  19. destination_port: 4242
  20. jump: ACCEPT