DCD-880: Add task to install atlassian-slingshot on ubuntu

This commit is contained in:
Ben Partridge
2020-01-03 11:51:26 +11:00
parent e7de5baff7
commit 7f715f409c
2 changed files with 26 additions and 4 deletions

View File

@@ -10,10 +10,10 @@ platforms:
image: amazonlinux:2
groups:
- aws_node_local
# - name: ubuntu_lts
# image: ubuntu:bionic
# groups:
# - aws_node_local
- name: ubuntu_lts
image: ubuntu:bionic
groups:
- aws_node_local
provisioner:
name: ansible
lint:

View 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