Project

General

Profile

Actions

Review #681

closed

Undefined attribute: mda_usergroup

Added by Pierre-Louis Bonicoli over 4 years ago. Updated about 4 years 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"}
Actions #1

Updated by Pierre-Louis Bonicoli over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Pierre-Louis Bonicoli about 4 years 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.

Actions

Also available in: Atom PDF