mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-880: Add task to install atlassian-slingshot on ubuntu
This commit is contained in:
@@ -10,10 +10,10 @@ platforms:
|
|||||||
image: amazonlinux:2
|
image: amazonlinux:2
|
||||||
groups:
|
groups:
|
||||||
- aws_node_local
|
- aws_node_local
|
||||||
# - name: ubuntu_lts
|
- name: ubuntu_lts
|
||||||
# image: ubuntu:bionic
|
image: ubuntu:bionic
|
||||||
# groups:
|
groups:
|
||||||
# - aws_node_local
|
- aws_node_local
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
lint:
|
lint:
|
||||||
|
|||||||
22
roles/create_backups/tasks/ubuntu.yml
Normal file
22
roles/create_backups/tasks/ubuntu.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
- name: Install gnupg
|
||||||
|
apt:
|
||||||
|
name: gnupg
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Add atlassian-slingshot debian repo public key
|
||||||
|
apt_key:
|
||||||
|
url: https://packages.atlassian.com/api/gpg/key/public
|
||||||
|
state: present
|
||||||
|
|
||||||
|
- name: Add atlassian-slingshot debian repository
|
||||||
|
apt_repository:
|
||||||
|
repo: deb https://packages.atlassian.com/atlassian-slingshot-deb stable main
|
||||||
|
state: present
|
||||||
|
filename: atlassian-slingshot
|
||||||
|
|
||||||
|
- name: Install atlassian-slingshot
|
||||||
|
apt:
|
||||||
|
name: atlassian-slingshot
|
||||||
|
update_cache: yes
|
||||||
|
state: present
|
||||||
Reference in New Issue
Block a user