Skip to content

Commit

Permalink
refactor postgres install & config
Browse files Browse the repository at this point in the history
  • Loading branch information
jarpat committed Nov 13, 2023
1 parent e5ebbf5 commit 1c415dc
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
17 changes: 0 additions & 17 deletions playbooks/kubernetes-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,6 @@
roles:
- { role: kubernetes/node/labels_taints }

# Alter PostgreSQL server and add PostgreSQL databases
- hosts: postgres
name: Postgres Setup - Configuration
become: true
become_user: postgres
roles:
- { role: kubernetes/database/postgres/alter_server_settings }
- { role: kubernetes/database/postgres/create_databases }

# Restart PostgreSQL server
- hosts: postgres
name: Postgres Setup - Restart
become: true
become_user: root
roles:
- { role: kubernetes/database/postgres/restart_server }

# Setup default storage class for cluster
- hosts: localhost
name: Default Storage Class Setup
Expand Down
19 changes: 18 additions & 1 deletion playbooks/systems-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,24 @@
become: true
become_user: root
roles:
- { role: systems/postgres }
- { role: systems/postgres/install }

# Alter PostgreSQL server and add PostgreSQL databases
- hosts: postgres
name: Postgres Setup - Configuration
become: true
become_user: postgres
roles:
- { role: systems/postgres/alter_server_settings }
- { role: systems/postgres/create_databases }

# Restart PostgreSQL server
- hosts: postgres
name: Postgres Setup - Restart
become: true
become_user: root
roles:
- { role: systems/postgres/restart_server }

# Container Registry Server
- hosts: cr
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 1c415dc

Please sign in to comment.