Azure Extensions

26 views
Skip to first unread message

Calhoun999999

unread,
Sep 21, 2018, 8:48:46 AM9/21/18
to Ansible Project
Hi,

Does anyone know a good article on how to install Azure extensions such as IaasAntiMalware?
There is plenty of information on CustomScriptsExtension, but not much on how to install an existing Azure VM extension.

Thanks.

Calhoun999999

unread,
Sep 25, 2018, 7:07:26 AM9/25/18
to Ansible Project
As a FYI for others:


-
name: Install Azure vm extension IaaSAntiMalware
azure_rm_virtualmachine_extension:
name: IaasAntiMalware
resource_group: '{{ resource_group }}'
virtual_machine_name: '{{ vmName }}'
publisher: Microsoft.Azure.Security
virtual_machine_extension_type: IaasAntiMalware
type_handler_version: 1.5
settings: |
{
"AntimalwareEnabled": true,
"RealtimeProtectionEnabled": true,
"ScheduledScanSettings": {
"isEnabled": "true",
"day": "1",
"time": "120",
"scanType": "Quick"
},
"Exclusions": {
"Extensions": "",
"Paths": "",
"Processes": ""
}
}
auto_upgrade_minor_version: true
Reply all
Reply to author
Forward
0 new messages