mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
DCD-880: Install postgresql as part of slingshot backup
This commit is contained in:
@@ -11,4 +11,9 @@
|
||||
|
||||
- name: Install atlassian-slingshot
|
||||
yum:
|
||||
name: atlassian-slingshot
|
||||
name: atlassian-slingshot
|
||||
|
||||
- name: Enable Postgresql from 'extras'
|
||||
command: amazon-linux-extras install -y "postgresql{{ atl_amazon_extras_postgresql_version }}"
|
||||
args:
|
||||
creates: /usr/bin/psql
|
||||
|
||||
5
roles/create_backups/tasks/main.yml
Normal file
5
roles/create_backups/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: Install distro-specific backup support packages
|
||||
include_tasks: "../../tasks/{{ ansible_distribution|lower }}.yml"
|
||||
|
||||
|
||||
@@ -19,4 +19,9 @@
|
||||
apt:
|
||||
name: atlassian-slingshot
|
||||
update_cache: yes
|
||||
state: present
|
||||
|
||||
- name: Install postgresql
|
||||
apt:
|
||||
name: postgresql
|
||||
state: present
|
||||
Reference in New Issue
Block a user