Hi,
i created a arm template and now i also have a separate script to install the active directory role.
for now the only way is to roll out the arm template and when the vm is deployed add the script extension. (this works)
it looks like there is also a way to add this to the arm template in the resource section ?. but isn't there a more robust way to do this. or do i then need tools like puppet ?.
i also tried when the vm was start to manually use the set-azurevmcustomscriptextension from the azure shell. (didn't work)
what is the most elegant way and most flexible way to rol out virtual machines and add roles ? for example one vm with ad role, one with sql and one with iis.
i know the scripts on git hub where you can already find some code.