Project

General

Profile

Review #681

Undefined attribute: mda_usergroup

Added by Pierre-Louis Bonicoli 6 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2019-10-09
Branch:
mda_usergroup_isnt_used_anymore

Description

Fix the following error:

$ ansible-playbook playbooks/tenants/duckcorp/security.yml -u root

TASK [dc-antivirus : ClamAV Setup -- Connection Type] ***********************************************************************************************************************
fatal: [Orfeo]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'mda_usergroup'\n\nThe error appears to be in '/srv/share/src/duckcorp/duckcorp-infra.git/ansible/roles/dc-antivirus/tasks/main.yml': line 21, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  notify: Reconfigure ClamAV\n- name: ClamAV Setup -- Connection Type\n  ^ here\n"}

History

#1

Updated by Pierre-Louis Bonicoli 6 months ago

  • Description updated (diff)
#2

Updated by Pierre-Louis Bonicoli about 2 months ago

  • Status changed from In Progress to Resolved

Merged and deployed due to the unattended upgrade to Debian 10.3:

$ ansible-playbook -i hosts.yml --diff playbooks/tenants/duckcorp/security.yml -edc_antivirus_force_clamd_rendering=True

Deprecated option ScanOnAccess isn't present in /etc/clamav/clamd.conf anymore.

Also available in: Atom PDF