security_antivirus_profile - Antivirus Profile Resource +++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 1.0.0 .. contents:: :local: :depth: 1 Synopsis -------- Antivirus Profile Resource. Use API "/resource-api/v2/security/antivirus-profile/{direction}/{primaryKey}". Requirements ------------ The below requirements are needed on the host that executes this module. - ansible>=2.17.0 Parameters ---------- .. raw:: html Examples ------------- .. code-block:: yaml - name: Update security antivirus profile hosts: fortisase gather_facts: false vars: direction: "outbound-profiles" # outbound-profiles or internal-profiles profile_group: "profile_ansible" tasks: - name: Ensure security group exists, otherwise create it fortinet.fortisase.security_profile_group: params: direction: "{{ direction }}" primary_key: "{{ profile_group }}" - name: Update security antivirus profile fortinet.fortisase.security_antivirus_profile: params: direction: "{{ direction }}" primary_key: "{{ profile_group }}" cifs: "enable" ftp: "enable" http: "enable" imap: "enable" pop3: "enable" Return Values ------------- .. raw:: html Authors ------- - Xinwei Du (@dux-fortinet)