diff --git a/roles/create_backups/molecule/default/molecule.yml b/roles/create_backups/molecule/default/molecule.yml index e1a8dce..ecc65a7 100644 --- a/roles/create_backups/molecule/default/molecule.yml +++ b/roles/create_backups/molecule/default/molecule.yml @@ -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: diff --git a/roles/create_backups/tasks/ubuntu.yml b/roles/create_backups/tasks/ubuntu.yml new file mode 100644 index 0000000..1b050e2 --- /dev/null +++ b/roles/create_backups/tasks/ubuntu.yml @@ -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 \ No newline at end of file