Another round of task names changes.

This commit is contained in:
Andrea Dell'Amico 2023-12-18 13:15:11 +01:00
parent aad4b75d60
commit 7870fbcbfa
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 6 additions and 6 deletions

View File

@ -31,12 +31,12 @@
- ansible_distribution_file_variety == "RedHat"
tags: ['postgresql', 'postgres']
block:
- name: postgresql-packages | Install the postgresql packages from the pgdg repository
- name: postgresql-packages | Install the postgresql EL packages from the pgdg repository
ansible.builtin.yum:
pkg: "{{ psql_el_pgdg_packages }}"
state: present
- name: postgresql-packages | Init the db if needed
- name: postgresql-packages | Init the db if needed on EL systems
ansible.builtin.command: /usr/pgsql-{{ psql_version }}/bin/postgresql-{{ psql_version }}-setup initdb
args:
creates: '{{ psql_el_data_dir }}/postgresql.conf'
@ -48,12 +48,12 @@
- not postgresql_client_only
tags: ['scl', 'postgresql', 'postgres']
block:
- name: postgresql-packages | Install the postgresql scl packages
- name: postgresql-packages | Install the postgresql scl packages on EL
ansible.builtin.yum:
pkg: "{{ psql_el_scl_packages }}"
state: present
- name: postgresql-packages | Init the db if needed
- name: postgresql-packages | Init the db if needed on EL systems
ansible.builtin.command: /opt/rh/rh-postgresql{{ psql_version }}/root/usr/bin/postgresql-setup --initdb
args:
creates: '{{ psql_el_data_dir }}/postgresql.conf'
@ -65,7 +65,7 @@
- ansible_distribution_file_variety == "RedHat"
tags: ['postgresql', 'postgres', 'postgres_client']
block:
- name: postgresql-packages | Install the postgresql client from the pgdg repository
- name: postgresql-packages | Install the postgresql client from the pgdg repository on EL systems
ansible.builtin.yum:
pkg: "postgresql{{ psql_version }}"
state: present
@ -77,7 +77,7 @@
- postgresql_client_only
tags: ['scl', 'postgresql', 'postgres', 'postgres_client']
block:
- name: postgresql-packages | Install the postgresql scl client package
- name: postgresql-packages | Install the postgresql scl client package on EL systems
ansible.builtin.yum:
pkg: "{{ item }}"
state: present