You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This request is not a duplicate of an existing issue
I have read the docs and followed them (if applicable)
I have seached the Roots Discourse for answers and followed them (if applicable)
This is not a personal support request that should be posted on the Roots Discourse community
Description
What's wrong?
Ansible warning during Trellis provision of existing Trellis installation:
TASK [fail2ban : build list of fail2ban filter templates] **********************
[WARNING]: Skipped 'fail2ban_filters' path due to this access issue:
'fail2ban_filters' is not a directory
What have you tried?
Re-provisioned the Trellis server multiple times.
What insights have you gained?
Despite multiple re-provisions the warning persists.
Possible solutions
A directory is missing? Or this warning can be safely ignored? Though then the task that causes the warning should be conditionally handled to avoid the warning at each provisioning run.
Temporary workarounds
Ignoring the warning for now.
Steps To Reproduce
Use an older version of Trellis (2 months ago).
Provision a server with it.
Update to the latest version of Trellis (now).
Re-provision the server with it.
Notice the warning.
Expected Behavior
No warnings.
Actual Behavior
Warning at each provision:
TASK [fail2ban : build list of fail2ban filter templates] **********************
[WARNING]: Skipped 'fail2ban_filters' path due to this access issue:
'fail2ban_filters' is not a directory
Relevant Log Output
TASK [fail2ban : build list of fail2ban filter templates] **********************
[WARNING]: Skipped 'fail2ban_filters' path due to this access issue:
'fail2ban_filters' is not a directory
A directory is missing? Or this warning can be safely ignored? Though then the task that causes the warning should be conditionally handled to avoid the warning at each provisioning run.
Yeah that's all correct. Ansible produces the warning but just ignores that missing path so everything works as expected.
There's no built-in way to handle/ignore this warning afaik. Unfortunately I think the only solution is to add a task to check if the path exists or not first 🤔
Terms
Description
What's wrong?
Ansible warning during Trellis provision of existing Trellis installation:
What have you tried?
Re-provisioned the Trellis server multiple times.
What insights have you gained?
Despite multiple re-provisions the warning persists.
Possible solutions
A directory is missing? Or this warning can be safely ignored? Though then the task that causes the warning should be conditionally handled to avoid the warning at each provisioning run.
Temporary workarounds
Ignoring the warning for now.
Steps To Reproduce
Notice the warning.
Expected Behavior
No warnings.
Actual Behavior
Warning at each provision:
Relevant Log Output
Versions
Add built-in fail2ban filters (#1375)
The text was updated successfully, but these errors were encountered: