<commit_before># file: postgresql/tasks/install_yum.yml

# The standard ca-certs are needed because  without them apt_key will fail to
# validate www.postgresql.org (or probably any other source).

  - block:
      - name: PostgrSQL | Install all the rquired depedencies
        dnf:
          name: ["ca-certificates","python-psycopg2", "python-pycurl", "glibc-common","libselinux-python"]
          state: present

      - name: PostgreSQL | Add PostgreSQL repository
        dnf:
          name: "{{ postgresql_dnf_repository_url }}"
          state: present

      - name: PostgreSQL | Install PostgreSQL<commit_msg>added a var to add repo only when defined.<commit_after># file: postgresql/tasks/install_yum.yml

# The standard ca-certs are needed because  without them apt_key will fail to
# validate www.postgresql.org (or probably any other source).

  - block:
      - name: PostgrSQL | Install all the rquired depedencies
        dnf:
          name: ["ca-certificates","python-psycopg2", "python-pycurl", "glibc-common","libselinux-python"]
          state: present

      - name: PostgreSQL | Add PostgreSQL repository
        dnf:
          name: "{{ postgresql_dnf_repository_url }}"
          state: present
        when: postgresql_install_repository

      - name: PostgreSQL | Install PostgreSQL
{'fraction_non_alphanumeric': 0.09291698400609291, 'fraction_numerical': 0.0015232292460015233, 'mean_word_length': 2.9107142857142856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4464952', 'n_tokens_mistral': 402, 'n_tokens_neox': 387, 'n_words': 111}