Another round of task names changes.
This commit is contained in:
parent
aad4b75d60
commit
7870fbcbfa
|
@ -31,12 +31,12 @@
|
||||||
- ansible_distribution_file_variety == "RedHat"
|
- ansible_distribution_file_variety == "RedHat"
|
||||||
tags: ['postgresql', 'postgres']
|
tags: ['postgresql', 'postgres']
|
||||||
block:
|
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:
|
ansible.builtin.yum:
|
||||||
pkg: "{{ psql_el_pgdg_packages }}"
|
pkg: "{{ psql_el_pgdg_packages }}"
|
||||||
state: present
|
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
|
ansible.builtin.command: /usr/pgsql-{{ psql_version }}/bin/postgresql-{{ psql_version }}-setup initdb
|
||||||
args:
|
args:
|
||||||
creates: '{{ psql_el_data_dir }}/postgresql.conf'
|
creates: '{{ psql_el_data_dir }}/postgresql.conf'
|
||||||
|
@ -48,12 +48,12 @@
|
||||||
- not postgresql_client_only
|
- not postgresql_client_only
|
||||||
tags: ['scl', 'postgresql', 'postgres']
|
tags: ['scl', 'postgresql', 'postgres']
|
||||||
block:
|
block:
|
||||||
- name: postgresql-packages | Install the postgresql scl packages
|
- name: postgresql-packages | Install the postgresql scl packages on EL
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
pkg: "{{ psql_el_scl_packages }}"
|
pkg: "{{ psql_el_scl_packages }}"
|
||||||
state: present
|
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
|
ansible.builtin.command: /opt/rh/rh-postgresql{{ psql_version }}/root/usr/bin/postgresql-setup --initdb
|
||||||
args:
|
args:
|
||||||
creates: '{{ psql_el_data_dir }}/postgresql.conf'
|
creates: '{{ psql_el_data_dir }}/postgresql.conf'
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
- ansible_distribution_file_variety == "RedHat"
|
- ansible_distribution_file_variety == "RedHat"
|
||||||
tags: ['postgresql', 'postgres', 'postgres_client']
|
tags: ['postgresql', 'postgres', 'postgres_client']
|
||||||
block:
|
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:
|
ansible.builtin.yum:
|
||||||
pkg: "postgresql{{ psql_version }}"
|
pkg: "postgresql{{ psql_version }}"
|
||||||
state: present
|
state: present
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
- postgresql_client_only
|
- postgresql_client_only
|
||||||
tags: ['scl', 'postgresql', 'postgres', 'postgres_client']
|
tags: ['scl', 'postgresql', 'postgres', 'postgres_client']
|
||||||
block:
|
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:
|
ansible.builtin.yum:
|
||||||
pkg: "{{ item }}"
|
pkg: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
Loading…
Reference in New Issue