Please help me with ansible concatenation

Hi,

I am generating a Azure storage account SAS token using the below command:

You’re using command, which will execute a URL. That is not going to work.
Perhaps you need set_fact?

Besides “command:” being the wrong module for that task, the concatenation should be something like

‘https://{{ var_StorageAccountName | lower }}.blob.core.windows.net/{{ var_ContainerName | lower }}?sas’