<commit_before># this is the task which configures the networking parameters of the head node.
# It does the following: 
# 1.) enables TCP forwarding from by the head node from the worker node
# 2.) configures NFS exports and services
# 3.) Enables masquerading of the WN in the LAN
# 4.) Adds all worker nodes to the known-hosts file

- name: Allow TCP forwarding
  hosts: cluster-head-node
  command: /bin/echo 1 > /proc/sys/net/ipv4/ip_forward
  tags: 
  - network
  
- name: Enabled masquerading
  command: '{{ iptables_command }} -t nat -A POSTROUTING -o eth0 -j MASQUERADE'
  tags:
  - network
  - firewall

- name: restart exportfs
  command: /usr/sbin/exportfs -r
  tags:
  - network
  - nfs
  
- name: start nfs<commit_msg>fxing head node dependency<commit_after># this is the task which configures the networking parameters of the head node.
# It does the following: 
# 1.) enables TCP forwarding from by the head node from the worker node
# 2.) configures NFS exports and services
# 3.) Enables masquerading of the WN in the LAN
# 4.) Adds all worker nodes to the known-hosts file

- name: Allow TCP forwarding
  command: /bin/echo 1 > /proc/sys/net/ipv4/ip_forward
  tags: 
  - network
  
- name: Enabled masquerading
  command: '{{ iptables_command }} -t nat -A POSTROUTING -o eth0 -j MASQUERADE'
  tags:
  - network
  - firewall

- name: restart exportfs
  command: /usr/sbin/exportfs -r
  tags:
  - network
  - nfs
  
- name: start nfs
{'fraction_non_alphanumeric': 0.08620689655172414, 'fraction_numerical': 0.009655172413793104, 'mean_word_length': 3.122159090909091, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4544759', 'n_tokens_mistral': 498, 'n_tokens_neox': 471, 'n_words': 190}