dev-sec / ansible-collection-hardening

This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL

Home Page:http://dev-sec.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nginx conf.d directory is missing on Rocky Linux 8

willifehler opened this issue · comments

Description

When executing the nginx_hardening role the Ansible deployment fails.

"msg": "Destination directory /etc/nginx/conf.d does not exist"

Reproduction steps

...
Rocky Linux 8:
dnf -y install nginx
deploy role: nginx_hardening

Current Behavior

The deployment fails.

Expected Behavior

...
The deployment doesn't fail.

OS / Environment

Rocky Linux 8.

Ansible Version

2.15.5

Collection Version

8.8.0

Additional information

The Ansible Collection/Role should make sure required directories exists.

The directory exists on Rocky Linux 8. Please ignore this bug.