Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: (IAC-1201) Move all postgres setup over to systems-install #93

Merged
merged 3 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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