<commit_before>---

- name: Install apache httpd and mod_wsgi
  yum: name={{ item }} state=present
  with_items:
    - httpd
    - mod_wsgi


- name: Add graphite vhost
  template: src=etc/httpd/conf.d/graphite.conf.j2 dest=/etc/httpd/conf.d/graphite.conf
   owner=apache group=apache mode=0644
  notify:
    - reload httpd<commit_msg>fix httpd listen port<commit_after>---

- name: Install apache httpd and mod_wsgi
  yum: name={{ item }} state=present
  with_items:
    - httpd
    - mod_wsgi


- name: Set listen port
  lineinfile: dest=/etc/httpd/conf/httpd.conf regexp="^Listen " line="Listen {{ graphite_httpport }}"

- name: Add graphite vhost
  template: src=etc/httpd/conf.d/graphite.conf.j2 dest=/etc/httpd/conf.d/graphite.conf
   owner=apache group=apache mode=0644
  notify:
    - reload httpd
{'fraction_non_alphanumeric': 0.12422360248447205, 'fraction_numerical': 0.012422360248447204, 'mean_word_length': 3.4285714285714284, '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': '5365282', 'n_tokens_mistral': 310, 'n_tokens_neox': 292, 'n_words': 65}