<commit_before>---

- name: Xdebug | Install
  become: yes
  apt: name=php-xdebug state=latest

- name: Xdebug | enable
  become: yes
  file:
    src: /etc/php/7.1/mods-available/xdebug.ini
    dest: /etc/php/7.1/fpm/conf.d/20-xdebug.ini
    state: link

- name: Xdebug | Setup
  become: yes
  lineinfile: >
    dest=/etc/php7.1/fpm/conf.d/20-xdebug.ini
    line={{ item }}
  with_items:
    - "xdebug.var_display_max_depth=32"
    - "xdebug.cli_color=2"
    - "xdebug.var_display_max_data=-1"
    - "xdebug.idekey='vagrant'"
    - "xdebug.remote_enable=1"
    - "xdebug.remote_connect_back=1"
  notify: restart php-fpm
<commit_msg>Fix path issue in other task<commit_after>---

- name: Xdebug | Install
  become: yes
  apt: name=php-xdebug state=latest

- name: Xdebug | enable
  become: yes
  file:
    src: /etc/php/7.1/mods-available/xdebug.ini
    dest: /etc/php/7.1/fpm/conf.d/20-xdebug.ini
    state: link

- name: Xdebug | Setup
  become: yes
  lineinfile: >
    dest=/etc/php/7.1/fpm/conf.d/20-xdebug.ini
    line={{ item }}
  with_items:
    - "xdebug.var_display_max_depth=32"
    - "xdebug.cli_color=2"
    - "xdebug.var_display_max_data=-1"
    - "xdebug.idekey='vagrant'"
    - "xdebug.remote_enable=1"
    - "xdebug.remote_connect_back=1"
  notify: restart php-fpm

{'fraction_non_alphanumeric': 0.15234375, 'fraction_numerical': 0.025, 'mean_word_length': 2.801186943620178, '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': '1361637', 'n_tokens_mistral': 543, 'n_tokens_neox': 540, 'n_words': 85}