Skip to content

Commit

Permalink
Add required dependencies for nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankApiyo committed Apr 26, 2024
1 parent a962b54 commit f12a356
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
apt:
update_cache: yes

- name: Nginx | Modules | Unarchive GeoLiteCity files
shell: wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1\~18.04.23_amd64.deb -P /tmp/

- name: Install deb
command: apt install /tmp/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb -y --allow-downgrades
become: true

- name: Nginx | Make sure nginx is installed (package)
apt:
pkg: "{{nginx}}"
Expand Down
1 change: 1 addition & 0 deletions tasks/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- libpcre3
- libpcre3-dev
- libssl-dev
- libssl1.1

- name: Nginx | Download the Nginx source release if not yet present
get_url:
Expand Down

0 comments on commit f12a356

Please sign in to comment.