<commit_before>---
# File: main.yml - Handlers for Consul

- name: reload consul configuration
  become: yes
  service:
    name: consul
    state: reloaded
  listen: reload consul

- name: reload haproxy configuration
  become: yes
  docker_container:
    name: haproxy
    state: started
    container_default_behavior: no_defaults
    force_kill: True
    kill_signal: HUP
  listen: reload haproxy<commit_msg>Switching to dumb command for reloading haproxy. Needs a validate beforehand.<commit_after>---
# File: main.yml - Handlers for Consul

- name: reload consul configuration
  become: yes
  service:
    name: consul
    state: reloaded
  listen: reload consul

- name: reload haproxy configuration
  become: yes
  command: sudo docker kill --signal HUP haproxy
  listen: reload haproxy
{'fraction_non_alphanumeric': 0.06675062972292191, 'fraction_numerical': 0.0, 'mean_word_length': 3.5428571428571427, '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': '4027400', 'n_tokens_mistral': 261, 'n_tokens_neox': 235, 'n_words': 85}