<commit_before>- name: Configure Sepal instance
  hosts: all
  user: ec2-user
  become: yes
  gather_facts: true

  vars_files:
    - "{{ secret_vars_file }}"

  pre_tasks:
    - set_fact:
        ldap_host: "{{ ec2_private_ip_address }}"
        sepal_http_ip: "{{ ec2_private_ip_address }}"
        sepal_ssh_ip: "{{ hostvars[inventory_hostname].ansible_eth0.ipv4_secondaries[0].address }}"
        syslog_address: "udp://{{ ec2_private_ip_address }}"

    # bash prompt
    - name: Set bash prompt
      blockinfile:
        path: /etc/profile
        block: |
          # Bash prompt
          PS1='{{ bash_prompt }}'

    # set locale
    - name: Set locale
      lineinfile:
        path: /etc/environment
        line: "{{ item }}"
      with_items:
        - "LANG=en_US.utf-8"
        - "LC_ALL=en_US.utf-8"

    # monit
    - name: Install EPEL repository
      yum:
        name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"

    - name: Install monit
      yum:
        name: 'monit'

    - name: Stop monit
      systemd:
        name: monit
        state: stopped
        enabled: yes
        masked: no

    - name: Configure monit 1/3
      copy:
        src: "monit/monit.d/"
        dest: "/etc/monit.d/"
        owner: "root"<commit_msg>Added multitail to deployment script.<commit_after>- name: Configure Sepal instance
  hosts: all
  user: ec2-user
  become: yes
  gather_facts: true

  vars_files:
    - "{{ secret_vars_file }}"

  pre_tasks:
    - set_fact:
        ldap_host: "{{ ec2_private_ip_address }}"
        sepal_http_ip: "{{ ec2_private_ip_address }}"
        sepal_ssh_ip: "{{ hostvars[inventory_hostname].ansible_eth0.ipv4_secondaries[0].address }}"
        syslog_address: "udp://{{ ec2_private_ip_address }}"

    # bash prompt
    - name: Set bash prompt
      blockinfile:
        path: /etc/profile
        block: |
          # Bash prompt
          PS1='{{ bash_prompt }}'

    # set locale
    - name: Set locale
      lineinfile:
        path: /etc/environment
        line: "{{ item }}"
      with_items:
        - "LANG=en_US.utf-8"
        - "LC_ALL=en_US.utf-8"

    # multitail
    - name: Install multitail
      yum:
        name: "multitail"

    # monit
    - name: Install EPEL repository
      yum:
        name: "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"

    - name: Install monit
      yum:
        name: 'monit'

    - name: Stop monit
      systemd:
        name: monit
        state: stopped
        enabled: yes
        masked: no

    - name: Configure monit 1/3
      copy:
        src: "monit/monit.d/"
        dest: "/etc/monit.d/"
        owner: "root"
{'fraction_non_alphanumeric': 0.11958146487294469, 'fraction_numerical': 0.009715994020926755, 'mean_word_length': 1.9193020719738276, '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': '113758', 'n_tokens_mistral': 969, 'n_tokens_neox': 939, 'n_words': 190}