Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fredex42 committed Jun 28, 2023
1 parent 24adae8 commit 33fd129
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
3 changes: 1 addition & 2 deletions roles/kong/meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
dependencies:
- apt
- { role: packages, s3_packages: [kong_{{ kong_version }}_{{ kong_arch }}.deb] }
- apt
12 changes: 12 additions & 0 deletions roles/kong/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@
- postgresql-client-{{postgres_version}}
state: latest

- name: Download Kong package
amazon.aws.aws_s3:
bucket: amigo-data
mode: get
object: "packages/kong_{{ kong_version }}_{{ kong_arch }}.deb"
dest: "/tmp/kong_{{ kong_version }}_{{ kong_arch }}.deb"
register: getresult

- name: Install Kong package
apt:
deb: "/tmp/kong_{{ kong_version }}_{{ kong_arch }}.deb"

- name: Create user for Kong
user: name={{kong_user}} system=yes

Expand Down

0 comments on commit 33fd129

Please sign in to comment.