chloe-jump.yml 748 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ---
  2. - hosts: chloe-jump
  3. gather_facts: true
  4. become: true
  5. roles:
  6. - dnf-automatic
  7. - statusservices
  8. vars_files:
  9. - "{{ inventory_dir }}/vars/vault.yaml"
  10. vars:
  11. dnf_update_time: 'mon 03:30'
  12. status_services_extra:
  13. - tailscaled
  14. post_tasks:
  15. - name: Enable IPv4 Forwarding in kernel
  16. ansible.posix.sysctl:
  17. name: net.ipv4.ip_forward
  18. value: "1"
  19. - name: Enable IPv6 Forwarding in kernel
  20. ansible.posix.sysctl:
  21. name: net.ipv6.conf.all.forwarding
  22. value: "1"
  23. # https://github.com/tailscale/tailscale/issues/3416
  24. - name: Enable IP Masquerading in firewalld
  25. ansible.posix.firewalld:
  26. masquerade: true
  27. permanent: true
  28. state: enabled