Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankApiyo committed May 3, 2024
1 parent 2c6433f commit cd718c0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ platforms:
privileged: true
command: /sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
env:
LC_ALL: "C.UTF-8"
LANG: "C.UTF-8"
Expand All @@ -24,7 +24,7 @@ platforms:
privileged: true
command: /sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
env:
LC_ALL: "C.UTF-8"
LANG: "C.UTF-8"
Expand All @@ -33,7 +33,7 @@ platforms:
privileged: true
command: /sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /sys/fs/cgroup:/sys/fs/cgroup:rw
env:
LC_ALL: "C.UTF-8"
LANG: "C.UTF-8"
Expand Down
2 changes: 2 additions & 0 deletions molecule/install-only/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ platforms:
- name: ubuntu-16.04
image: solita/ubuntu-systemd:16.04
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /sbin/init
provisioner:
name: ansible
Expand Down
5 changes: 4 additions & 1 deletion tasks/package.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
# file: nginx/tasks/package.yml
- name: Run the equivalent of "apt-get update" as a separate step
apt:
update_cache: yes

- name: Nginx | Make sure the ansible required dependencies are installed
apt:
name:
- python3-pycurl
- dirmngr
- gnupg
- wget
state: present

# make the KEY_ID a var
Expand Down
1 change: 1 addition & 0 deletions tasks/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- libpcre3-dev
- libssl-dev
- libssl1.1
- wget

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

0 comments on commit cd718c0

Please sign in to comment.