<commit_before>- name: Set hostname FQDN variable
  set_fact:
    hostname_fqdn  : "{{ inventory_hostname }}"
  when: hostname_fqdn is not defined

  # provisioned machine might have incorrect hostname if thats the case override facts to new name
- name: Temp override facts "ansible_fqdn"
  set_fact:
    ansible_fqdn : "{{ inventory_hostname }}"
  when: ansible_fqdn != inventory_hostname

- name: Set hostname short variable
  set_fact:
    hostname_short : "{{ lookup('template', '../templates/shortname.j2') }}"
  when: hostname_short is not defined

- name: Set machine hostname
  hostname:
    name: "{{hostname_short}}"
<commit_msg>Temp override of ansible_hostname<commit_after>- name: Temp override for "hostname_fqdn"
  set_fact:
    hostname_fqdn  : "{{ inventory_hostname }}"
  when: hostname_fqdn is not defined

  # provisioned machine might have incorrect hostname if thats the case override facts to new name
- name: Temp override facts "ansible_fqdn"
  set_fact:
    ansible_fqdn : "{{ inventory_hostname }}"
  when: ansible_fqdn != inventory_hostname

- name: Set hostname short variable
  set_fact:
    hostname_short : "{{ lookup('template', '../templates/shortname.j2') }}"
  when: hostname_short is not defined

- name: Set machine hostname
  hostname:
    name: "{{ hostname_short }}"

- name: Temp override facts "hostname_short"
  set_fact:
    ansible_hostname  : "{{ hostname_short }}"
  when: ansible_hostname != hostname_short

{'fraction_non_alphanumeric': 0.09814687714481812, 'fraction_numerical': 0.0013726835964310226, 'mean_word_length': 4.34065934065934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5124885', 'n_tokens_mistral': 465, 'n_tokens_neox': 472, 'n_words': 136}