<commit_before>- hosts: all
  vars_files:
    - [ "vars/{{ ansible_os_family }}.yml", "vars/defaults.yml" ]
  tasks:
    # Create SSL Keys
    - name: create ssl Keys
      become: yes
      command: openssl req -batch -new -x509 -newkey rsa:2048 -nodes -sha256 \
        -subj /CN=*.{{ vccw.hostname }}/O=oreore -days 3650 \
        -keyout /etc/{{ apache }}/ssl/{{ vccw.hostname }}.key \
        -out /etc/{{ apache }}/ssl/{{ vccw.hostname }}.crt

    # Setup Document Root
    - name: Place /etc/{{ apache }}/sites-available/site.conf
      become: yes
      template:
        src: templates/site.conf
        dest: /etc/{{ apache }}/sites-available/{{ vccw.hostname }}.conf
      notify:
        - restart apache

    # enable wordpress.conf
    - name: enable wordpress.conf
      become: yes
      #command: a2ensite {{ vccw.hostname }}
      file:
        src: /etc/{{ apache }}/sites-available/{{ vccw.hostname }}.conf
        dest: /etc/{{ apache }}/sites-enabled/{{ vccw.hostname }}.conf
        state: link
      notify:
        - restart apache<commit_msg>create /etc/apache2/ssl/<commit_after>- hosts: all
  vars_files:
    - [ "vars/{{ ansible_os_family }}.yml", "vars/defaults.yml" ]
  tasks:
    - name: create ssl dir
      become: yes
      file:
        path: /etc/{{ apache }}/ssl
        state: directory

    # Create SSL Keys
    - name: create ssl Keys
      become: yes
      command: openssl req -batch -new -x509 -newkey rsa:2048 -nodes -sha256 \
        -subj /CN=*.{{ vccw.hostname }}/O=oreore -days 3650 \
        -keyout /etc/{{ apache }}/ssl/{{ vccw.hostname }}.key \
        -out /etc/{{ apache }}/ssl/{{ vccw.hostname }}.crt

    # Setup Document Root
    - name: Place /etc/{{ apache }}/sites-available/site.conf
      become: yes
      template:
        src: templates/site.conf
        dest: /etc/{{ apache }}/sites-available/{{ vccw.hostname }}.conf
      notify:
        - restart apache

    # enable wordpress.conf
    - name: enable wordpress.conf
      become: yes
      #command: a2ensite {{ vccw.hostname }}
      file:
        src: /etc/{{ apache }}/sites-available/{{ vccw.hostname }}.conf
        dest: /etc/{{ apache }}/sites-enabled/{{ vccw.hostname }}.conf
        state: link
      notify:
        - restart apache
{'fraction_non_alphanumeric': 0.15401588702559577, 'fraction_numerical': 0.013680494263018535, 'mean_word_length': 1.986824769433465, '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': '7140538', 'n_tokens_mistral': 802, 'n_tokens_neox': 764, 'n_words': 205}