diff --git a/clamav/molecule/default/molecule.yml b/clamav/molecule/default/molecule.yml index e3a915e..ccc6716 100644 --- a/clamav/molecule/default/molecule.yml +++ b/clamav/molecule/default/molecule.yml @@ -5,7 +5,7 @@ driver: name: docker platforms: - name: clamav - image: ubuntu:20.04 + image: ubuntu:24.04 privileged: true pre_build_image: false provisioner: diff --git a/reverse_proxy/handlers/main.yml b/reverse_proxy/handlers/main.yml index 34404de..60e71bd 100644 --- a/reverse_proxy/handlers/main.yml +++ b/reverse_proxy/handlers/main.yml @@ -2,7 +2,7 @@ - name: restart nginx become: true service: - name: nginx + name: openresty state: restarted enabled: true diff --git a/reverse_proxy/molecule/default/molecule.yml b/reverse_proxy/molecule/default/molecule.yml index 32f5a3f..2d405c0 100644 --- a/reverse_proxy/molecule/default/molecule.yml +++ b/reverse_proxy/molecule/default/molecule.yml @@ -5,7 +5,7 @@ driver: name: docker platforms: - name: reverse_proxy - image: ubuntu:20.04 + image: ubuntu:24.04 privileged: true pre_build_image: false provisioner: diff --git a/reverse_proxy/molecule/default/verify.yml b/reverse_proxy/molecule/default/verify.yml index abd18b1..83f0236 100644 --- a/reverse_proxy/molecule/default/verify.yml +++ b/reverse_proxy/molecule/default/verify.yml @@ -9,13 +9,13 @@ - name: nginx is installed assert: - that: services.ansible_facts.services.nginx is defined + that: services.ansible_facts.services.openresty is defined fail_msg: "No nginx service was defined" success_msg: "Nginx service found!" - name: nginx is running assert: - that: services.ansible_facts.services['nginx'].state == "running" + that: services.ansible_facts.services['openresty'].state == "running" fail_msg: "The nginx service does not appear to be running" success_msg: "Nginx service is running" @@ -64,29 +64,25 @@ fail_msg: "Request to valid file extension was blocked." success_msg: "Request to valid file extension was not blocked." - # Ubuntu 20.04 uses R 3, and packages for R 3 are no longer - # available in CRAN. We can sort this out when we move to Ubuntu - # 22.04 or later: - - # - name: r package installation - # shell: - # cmd: | - # rm -rf /usr/local/lib/R/site-library/dplyr # remove if installed - # /usr/bin/R --no-save <