db-koji01: move to rhel9 and postgresql 15
Set host vars to move to rhel9 on next reinstall and setup postgresql 15 module. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
8a6994fa84
commit
718a84c645
2 changed files with 17 additions and 6 deletions
|
@ -16,10 +16,10 @@ eth0_ipv4_gw: 10.3.169.254
|
||||||
eth0_ipv4_ip: 10.3.169.103
|
eth0_ipv4_ip: 10.3.169.103
|
||||||
# kernel SHMMAX value
|
# kernel SHMMAX value
|
||||||
kernel_shmmax: 68719476736
|
kernel_shmmax: 68719476736
|
||||||
ks_repo: http://10.3.163.35/repo/rhel/RHEL8-x86_64/
|
ks_repo: http://10.3.163.35/repo/rhel/RHEL9-x86_64/
|
||||||
ks_url: http://10.3.163.35/repo/rhel/ks/kvm-rhel-8-iad2
|
ks_url: http://10.3.163.35/repo/rhel/ks/kvm-rhel
|
||||||
# These are normally group variables, but in this case db servers are often different
|
# These are normally group variables, but in this case db servers are often different
|
||||||
lvm_size: 1500000
|
lvm_size: 1750000
|
||||||
max_cpu: 96
|
max_cpu: 96
|
||||||
max_parallel_maintenance_workers: 8
|
max_parallel_maintenance_workers: 8
|
||||||
max_parallel_workers: 64
|
max_parallel_workers: 64
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
stream=12
|
stream=12
|
||||||
profiles=
|
profiles=
|
||||||
state=enabled
|
state=enabled
|
||||||
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat' and not inventory_hostname.startswith('db-fas01.stg')
|
when: ansible_distribution_major_version|int >= 8 and ansible_distribution == 'RedHat' and not inventory_hostname.startswith(('db-fas01.stg','db-koji01'))
|
||||||
|
|
||||||
- name: on db-fas01.stg enable the postgresql 9.6 module.
|
- name: on db-fas01 enable the postgresql 9.6 module.
|
||||||
copy:
|
copy:
|
||||||
dest: /etc/dnf/modules.d/postgresql.module
|
dest: /etc/dnf/modules.d/postgresql.module
|
||||||
content: |
|
content: |
|
||||||
|
@ -22,7 +22,18 @@
|
||||||
stream=9.6
|
stream=9.6
|
||||||
profiles=
|
profiles=
|
||||||
state=enabled
|
state=enabled
|
||||||
when: inventory_hostname.startswith('db-fas01.stg')
|
when: inventory_hostname.startswith('db-fas01')
|
||||||
|
|
||||||
|
- name: on db-koji01 enable the postgresql 15 module.
|
||||||
|
copy:
|
||||||
|
dest: /etc/dnf/modules.d/postgresql.module
|
||||||
|
content: |
|
||||||
|
[postgresql]
|
||||||
|
name=postgresql
|
||||||
|
stream=15
|
||||||
|
profiles=
|
||||||
|
state=enabled
|
||||||
|
when: inventory_hostname.startswith('db-koji01')
|
||||||
|
|
||||||
- name: install postgresql server packages (EL < 8)
|
- name: install postgresql server packages (EL < 8)
|
||||||
package:
|
package:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue