<commit_before>---

# https://wiki.postgresql.org/wiki/YUM_Installation
- name: install postgresql
  become: yes
  yum: name={{ item }} state=present
  with_items:
   - "{{ postgresql_repo_url }}"

- name: install postgresql package
  become: yes
  yum: name={{ item }} state=latest
  with_items:
   - postgresql{{ postgresql_version| replace('.', '') }}-devel
   - postgresql{{ postgresql_version| replace('.', '') }}-server
   - postgresql{{ postgresql_version| replace('.', '') }}-contrib
<commit_msg>install psycopg2 in roles/postgresql<commit_after>---

# https://wiki.postgresql.org/wiki/YUM_Installation
- name: install postgresql repository
  yum: name={{ item }} state=present
  with_items:
   - "{{ postgresql_repo_url }}"

- name: install postgresql
  yum: name={{ item }} state=present
  with_items:
   - postgresql{{ postgresql_version| replace('.', '') }}-devel
   - postgresql{{ postgresql_version| replace('.', '') }}-server
   - postgresql{{ postgresql_version| replace('.', '') }}-contrib

- name: install psycopg2
  yum: name=python-psycopg2 state=present

{'fraction_non_alphanumeric': 0.16837209302325581, 'fraction_numerical': 0.0027906976744186047, 'mean_word_length': 4.300492610837439, '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': '415056', 'n_tokens_mistral': 365, 'n_tokens_neox': 368, 'n_words': 77}