<commit_before>{%- raw -%}
---
  - name: add nginx/stable ppa
    apt_repository: repo='ppa:nginx/stable' state=present update_cache=yes
    tags:
      - packages

  - name: install nginx
    apt: name=nginx state={{ pkg_state }}
    notify:
      - restart nginx
    tags:
      - packages

  - name: checkout h5bp/server-configs-nginx
    git: repo=https://github.com/h5bp/server-configs-nginx dest=/etc/nginx/h5bp-config
    notify:
      - restart nginx
    tags:
      - configuration

  - name: create symlinks
    file: src=/etc/nginx/{{ item.src }} dest=/etc/nginx/{{ item.dst }} state=link force=yes
    with_items:
      - { src: 'h5bp-config/h5bp', dst: 'h5bp' }
      - { src: 'h5bp-config/sites-available/no-default', dst: 'sites-enabled/default' }
    notify:
      - restart nginx
    tags:
      - configuration

  - name: create nginx.conf
    template: src=nginx.conf dest=/etc/nginx/nginx.conf
    notify:
      - restart nginx
    tags:
      - configuration

  - name: start nginx
    service: name=nginx state=started enabled=yes

{%- endraw -%}<commit_msg>flushing handlers after nginx install<commit_after>{%- raw -%}
---
  - name: add nginx/stable ppa
    apt_repository: repo='ppa:nginx/stable' state=present update_cache=yes
    tags:
      - packages

  - name: install nginx
    apt: name=nginx state={{ pkg_state }}
    notify:
      - restart nginx
    tags:
      - packages

  - name: checkout h5bp/server-configs-nginx
    git: repo=https://github.com/h5bp/server-configs-nginx dest=/etc/nginx/h5bp-config
    notify:
      - restart nginx
    tags:
      - configuration

  - name: create symlinks
    file: src=/etc/nginx/{{ item.src }} dest=/etc/nginx/{{ item.dst }} state=link force=yes
    with_items:
      - { src: 'h5bp-config/h5bp', dst: 'h5bp' }
      - { src: 'h5bp-config/sites-available/no-default', dst: 'sites-enabled/default' }
    notify:
      - restart nginx
    tags:
      - configuration

  - name: create nginx.conf
    template: src=nginx.conf dest=/etc/nginx/nginx.conf
    notify:
      - restart nginx
    tags:
      - configuration

  - name: start nginx
    service: name=nginx state=started enabled=yes

  - meta: flush_handlers

{%- endraw -%}
{'fraction_non_alphanumeric': 0.1330316742081448, 'fraction_numerical': 0.006334841628959276, 'mean_word_length': 2.4332298136645965, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6719503', 'n_tokens_mistral': 809, 'n_tokens_neox': 760, 'n_words': 162}