diff --git a/tasks/aide.yaml b/tasks/aide.yaml index 2391e38..36c2390 100644 --- a/tasks/aide.yaml +++ b/tasks/aide.yaml @@ -22,7 +22,7 @@ !{{ directory }} {% endfor %} when: - - cis_aide_config_path + - cis_aide_config_path is defined - cis_aide_excluded_directories is defined - name: Add excluded folders to AIDE, if defined @@ -34,7 +34,7 @@ !{{ directory }} {% endfor %} when: - - not cis_aide_config_path + - cis_aide_config_path is not defined - cis_aide_excluded_directories is defined - name: Install AIDE crontab