{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/comments/131824876","pull_request_review_id":54838356,"id":131824876,"diff_hunk":"@@ -0,0 +1,670 @@\n+{\n+  \"$schema\" : \"https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#\",\n+  \"contentVersion\" : \"1.0.0.0\",\n+  \"parameters\" : {\n+    \"adminUsername\" : {\n+      \"type\" : \"string\",\n+      \"minLength\" : 1,\n+      \"metadata\" : {\n+        \"description\" : \"User name for the Virtual Machine and OpenShift Webconsole.\"\n+      }\n+    },\n+    \"adminPassword\" : {\n+      \"type\" : \"securestring\",\n+      \"metadata\" : {\n+        \"description\" : \"User password for the OpenShift Webconsole\"\n+      }\n+    },\n+    \"sshKeyData\" : {\n+      \"type\" : \"securestring\",\n+      \"metadata\" : {\n+        \"description\" : \"SSH RSA public key file as a string.\"\n+      }\n+    },\n+    \"image\" : {\n+      \"type\" : \"string\",\n+      \"allowedValues\" : [\n+        \"rhel\"\n+      ],\n+      \"defaultValue\" : \"rhel\",\n+      \"metadata\" : {\n+        \"description\" : \"OS to use.Red Hat Enterprise Linux\"\n+      }\n+    },\n+    \"vmSize\" : {\n+      \"type\" : \"string\",\n+      \"defaultValue\" : \"Standard_DS4_v2\",\n+      \"allowedValues\" : [\n+        \"Standard_A2\",\n+        \"Standard_A3\",\n+        \"Standard_A4\",\n+        \"Standard_A5\",\n+        \"Standard_A6\",\n+        \"Standard_A7\",\n+        \"Standard_A8\",\n+        \"Standard_A9\",\n+        \"Standard_A10\",\n+        \"Standard_A11\",\n+        \"Standard_D2\",\n+        \"Standard_D3\",\n+        \"Standard_D4\",\n+        \"Standard_D11\",\n+        \"Standard_D12\",\n+        \"Standard_D13\",\n+        \"Standard_D14\",\n+        \"Standard_D2_v2\",\n+        \"Standard_D3_v2\",\n+        \"Standard_D4_v2\",\n+        \"Standard_D5_v2\",\n+        \"Standard_D11_v2\",\n+        \"Standard_D12_v2\",\n+        \"Standard_D13_v2\",\n+        \"Standard_D14_v2\",\n+        \"Standard_G1\",\n+        \"Standard_G2\",\n+        \"Standard_G3\",\n+        \"Standard_G4\",\n+        \"Standard_G5\",\n+        \"Standard_DS2\",\n+        \"Standard_DS3\",\n+        \"Standard_DS4\",\n+        \"Standard_DS11\",\n+        \"Standard_DS12\",\n+        \"Standard_DS13\",\n+        \"Standard_DS14\",\n+        \"Standard_DS2_v2\",\n+        \"Standard_DS3_v2\",\n+        \"Standard_DS4_v2\",\n+        \"Standard_DS5_v2\",\n+        \"Standard_DS11_v2\",\n+        \"Standard_DS12_v2\",\n+        \"Standard_DS13_v2\",\n+        \"Standard_DS14_v2\",\n+        \"Standard_GS1\",\n+        \"Standard_GS2\",\n+        \"Standard_GS3\",\n+        \"Standard_GS4\",\n+        \"Standard_GS5\"\n+      ],\n+      \"metadata\" : {\n+        \"description\" : \"The size of the each Node Virtual Machine.\"\n+      }\n+    },\n+    \"rhsmUsernamePasswordOrActivationKey\" : {\n+      \"type\" : \"string\",\n+      \"minLength\" : 1,\n+      \"defaultValue\" : \"usernamepassword\",\n+      \"allowedValues\" : [\n+        \"usernamepassword\",\n+        \"activationkey\"\n+      ],\n+      \"metadata\" : {\n+        \"description\" : \"Select whether you want to use your Red Hat Subscription Manager Username and Password or Organization ID and Activation Key to register the RHEL instance to your Red Hat Subscription.\"\n+      }\n+    },\n+    \"RHNUserName\" : {\n+      \"type\" : \"string\",\n+      \"minLength\" : 1,\n+      \"metadata\" : {\n+        \"description\" : \"Red Hat Subscription User Name or Email Address or Organization ID\"\n+      }\n+    },\n+    \"RHNPassword\" : {\n+      \"type\" : \"securestring\",\n+      \"metadata\" : {\n+        \"description\" : \"Red Hat Subscription Password or Activation Key\"\n+      }\n+    },\n+    \"SubscriptionPoolId\" : {\n+      \"type\" : \"string\",\n+      \"minLength\" : 1,\n+      \"metadata\" : {\n+        \"description\" : \"Pool ID of the Red Hat subscritpion to use\"\n+      }\n+    },\n+    \"sshPrivateData\" : {\n+      \"type\" : \"securestring\",\n+      \"metadata\" : {\n+        \"description\" : \"SSH RSA private key file as a base64 string.\"\n+      }\n+    },\n+    \"aadClientId\" : {\n+      \"type\" : \"string\",\n+      \"metadata\" : {\n+        \"description\" : \"Azure AD Client Id\"\n+      }\n+    },\n+    \"aadClientSecret\" : {\n+      \"type\" : \"securestring\",\n+      \"metadata\" : {\n+        \"description\" : \"Azure AD Client Secret\"\n+      }\n+    },\n+    \"metrics\" : {\n+      \"type\" : \"bool\",\n+      \"defaultValue\" : true,\n+      \"metadata\" : {\n+        \"description\" : \"Enable OCP metrics\"\n+      }\n+    },\n+    \"logging\" : {\n+      \"type\" : \"bool\",\n+      \"defaultValue\" : true,\n+      \"metadata\" : {\n+        \"description\" : \"Enable OCP aggregated logging\"\n+      }\n+    },\n+    \"opslogging\" : {\n+      \"type\" : \"bool\",\n+      \"defaultValue\" : false,\n+      \"metadata\" : {\n+        \"description\" : \"Enable OCP aggregated logging for ops\"\n+      }\n+    }\n+  },\n+  \"variables\" : {\n+    \"gituser\" : \"openshift\",\n+    \"branch\" : \"master\",\n+    \"baseTemplateUrl\" : \"[concat('https://raw.githubusercontent.com/',variables('gituser'),'/openshift-ansible-contrib/',variables('branch'),'/reference-architecture/azure-ansible/')]\",\n+    \"location\" : \"[resourceGroup().location]\",\n+    \"virtualNetworkName\" : \"openshiftVnet\",\n+    \"addressPrefix\" : \"10.0.0.0/16\",\n+    \"vhdStorageType\" : \"Premium_LRS\",\n+    \"vnetId\" : \"[resourceId('Microsoft.Network/virtualNetworks', variables('virtualNetworkName'))]\",\n+    \"rhel\" : {\n+      \"publisher\" : \"Redhat\",\n+      \"offer\" : \"RHEL\",\n+      \"sku\" : \"7.3\",\n+      \"version\" : \"latest\"\n+    },\n+    \"baseVMachineTemplateUriOneVm\" : \"[concat(variables('baseTemplateUrl'), 'onevm.json')]\",\n+    \"vmSizesMap\" : {\n+      \"Standard_A2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_A3\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_A4\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_A5\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_A6\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_A7\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_A8\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_A9\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_A10\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_A11\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D1\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D3\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D4\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D11\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D12\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D13\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D14\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D1_v2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D2_v2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D3_v2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D4_v2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D5_v2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D11_v2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D12_v2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D13_v2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_D14_v2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_G1\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_G2\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_G3\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_G4\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_G5\" : {\n+        \"storageAccountType\" : \"Standard_LRS\"\n+      },\n+      \"Standard_DS1\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS3\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS4\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS11\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS12\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS13\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS14\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS1_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS2_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS3_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS4_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS5_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS11_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS12_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS13_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS14_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_DS15_v2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_GS1\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_GS2\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_GS3\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_GS4\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      },\n+      \"Standard_GS5\" : {\n+        \"storageAccountType\" : \"Premium_LRS\"\n+      }\n+    },\n+    \"tenantId\" : \"[subscription().tenantId]\",\n+    \"StorageAccountPersistentVolume\" : \"[concat('sapv', resourceGroup().name)]\",\n+    \"StorageAccountLoggingMetricsVolumes\" : \"[concat('sapvlm', resourceGroup().name)]\",\n+    \"registryStorageName\" : \"[concat('sareg', resourceGroup().name)]\",\n+    \"subscriptionId\" : \"[subscription().subscriptionId]\",\n+    \"StorageAccountLoggingMetricsVolumesVolumeType\" : \"Premium_LRS\",\n+    \"apiVersion\" : \"2015-06-15\",\n+    \"apiVersionCompute\" : \"2015-06-15\",\n+    \"apiVersionNetwork\" : \"2016-03-30\",\n+    \"tmApiVersion\" : \"2015-11-01\",\n+    \"apiVersionStorage\" : \"2015-06-15\",\n+    \"apiVersionLinkTemplate\" : \"2015-01-01\",\n+    \"StorageAccountName\" : \"[concat('samas', resourceGroup().name)]\",\n+    \"nicName\" : \"OneVmNic\",\n+    \"publicIPAddressName\" : \"onevmPublicIP\",\n+    \"publicIPAddressType\" : \"Dynamic\",\n+    \"subnetRef\" : \"[concat(variables('vnetID'),'/subnets/',variables('virtualNetworkName'))]\",\n+    \"sshKeyPath\" : \"[concat('/home/',parameters('adminUsername'),'/.ssh/authorized_keys')]\",\n+    \"publicIpRef\" : \"[concat('Microsoft.Network/publicIPAddresses/',variables('publicIPAddressName'))]\",\n+    \"sQuote\" : \"\\\"\",\n+    \"rhsmmode\" : \"[parameters('rhsmUsernamePasswordOrActivationKey')]\"\n+  },\n+  \"resources\" : [\n+    {\n+      \"type\" : \"Microsoft.Storage/storageAccounts\",\n+      \"name\" : \"[variables('registryStorageName')]\",\n+      \"apiVersion\" : \"[variables('apiVersion')]\",\n+      \"location\" : \"[variables('location')]\",\n+      \"tags\" : {\n+        \"displayName\" : \"StorageAccount\"\n+      },\n+      \"properties\" : {\n+        \"accountType\" : \"['Standard_RAGRS']\"\n+      }\n+    },\n+    {\n+      \"type\" : \"Microsoft.Storage/storageAccounts\",\n+      \"name\" : \"[variables('StorageAccountPersistentVolume')]\",\n+      \"apiVersion\" : \"[variables('apiVersion')]\",\n+      \"location\" : \"[variables('location')]\",\n+      \"tags\" : {\n+        \"displayName\" : \"StorageAccountPersistentVolume\"\n+      },\n+      \"properties\" : {\n+        \"accountType\" : \"[variables('vmSizesMap')[parameters('vmSize')].storageAccountType]\"\n+      }\n+    },\n+    {\n+      \"type\" : \"Microsoft.Storage/storageAccounts\",\n+      \"name\" : \"[variables('StorageAccountLoggingMetricsVolumes')]\",\n+      \"apiVersion\" : \"[variables('apiVersion')]\",\n+      \"location\" : \"[variables('location')]\",\n+      \"tags\" : {\n+        \"displayName\" : \"StorageAccountLoggingMetricsVolumes\"\n+      },\n+      \"properties\" : {\n+        \"accountType\" : \"[variables('StorageAccountLoggingMetricsVolumesVolumeType')]\"\n+      }\n+    },\n+    {\n+      \"type\" : \"Microsoft.Storage/storageAccounts\",\n+      \"name\" : \"[variables('StorageAccountName')]\",\n+      \"apiVersion\" : \"[variables('apiVersion')]\",\n+      \"location\" : \"[variables('location')]\",\n+      \"tags\" : {\n+        \"displayName\" : \"StorageAccount\"\n+      },\n+      \"properties\" : {\n+        \"accountType\" : \"[variables('vmSizesMap')[parameters('vmSize')].storageAccountType]\"\n+      }\n+    },\n+    {\n+      \"apiVersion\" : \"2017-03-30\",\n+      \"type\" : \"Microsoft.Compute/virtualMachines\",\n+      \"name\" : \"[resourceGroup().name]\",\n+      \"location\" : \"[resourceGroup().location]\",\n+      \"dependsOn\" : [\n+        \"[resourceId('Microsoft.Storage/storageAccounts/', variables('StorageAccountName'))]\",\n+        \"[resourceId('Microsoft.Network/networkInterfaces/', variables('nicName'))]\"\n+      ],\n+      \"properties\" : {\n+        \"hardwareProfile\" : {\n+          \"vmSize\" : \"[parameters('vmSize')]\"\n+        },\n+        \"osProfile\" : {\n+          \"computerName\" : \"[resourceGroup().name]\",\n+          \"adminUsername\" : \"[parameters('adminUsername')]\",\n+          \"adminPassword\" : \"[parameters('adminPassword')]\",\n+          \"linuxConfiguration\" : {\n+            \"disablePasswordAuthentication\" : \"true\",\n+            \"ssh\" : {\n+              \"publicKeys\" : [\n+                {\n+                  \"path\" : \"[variables('sshKeyPath')]\",\n+                  \"keyData\" : \"[parameters('sshKeyData')]\"\n+                }\n+              ]\n+            }\n+          }\n+        },\n+        \"storageProfile\" : {\n+          \"imageReference\" : \"[variables('rhel')]\",\n+          \"osDisk\" : {\n+            \"caching\" : \"ReadWrite\",\n+            \"vhd\" : {\n+              \"uri\" : \"[concat('http://', variables('StorageAccountName'), '.blob.core.windows.net/openshiftvmachines/', resourceGroup().name, '.vhd')]\"\n+            },\n+            \"name\" : \"osdisk\",\n+            \"createOption\" : \"FromImage\"\n+          },\n+          \"dataDisks\" : [\n+            {\n+              \"caching\" : \"None\",\n+              \"createOption\" : \"Empty\",\n+              \"diskSizeGB\" : \"128\",\n+              \"lun\" : 0,\n+              \"name\" : \"datadisk0\",\n+              \"vhd\" : {\n+                \"uri\" : \"[concat('http://', variables('StorageAccountName'), '.blob.core.windows.net/openshiftvmachines/', resourceGroup().name, '_datadisk0.vhd')]\"\n+              }\n+            },\n+            {\n+              \"caching\" : \"None\",\n+              \"createOption\" : \"Empty\",\n+              \"diskSizeGB\" : \"128\",\n+              \"lun\" : 1,\n+              \"name\" : \"datadisk1\",\n+              \"vhd\" : {\n+                \"uri\" : \"[concat('http://', variables('StorageAccountName'), '.blob.core.windows.net/openshiftvmachines/', resourceGroup().name, '_datadisk1.vhd')]\"\n+              }\n+            },\n+            {\n+              \"caching\" : \"None\",\n+              \"createOption\" : \"Empty\",\n+              \"diskSizeGB\" : \"512\",\n+              \"lun\" : 2,\n+              \"name\" : \"datadisk2\",\n+              \"vhd\" : {\n+                \"uri\" : \"[concat('http://', variables('StorageAccountName'), '.blob.core.windows.net/openshiftvmachines/', resourceGroup().name, '_datadisk2.vhd')]\"\n+              }\n+            }\n+          ]\n+        },\n+        \"networkProfile\" : {\n+          \"networkInterfaces\" : [\n+            {\n+              \"id\" : \"[resourceId('Microsoft.Network/networkInterfaces',variables('nicName'))]\"\n+            }\n+          ]\n+        },\n+        \"diagnosticsProfile\" : {\n+          \"bootDiagnostics\" : {\n+            \"enabled\" : \"false\",\n+            \"storageUri\" : \"[concat(reference(concat('Microsoft.Storage/storageAccounts/', variables('storageAccountName')), '2016-01-01').primaryEndpoints.blob)]\"\n+          }\n+        }\n+      }\n+    },\n+    {\n+      \"apiVersion\" : \"2017-04-01\",\n+      \"type\" : \"Microsoft.Network/networkInterfaces\",\n+      \"name\" : \"[variables('nicName')]\",\n+      \"location\" : \"[resourceGroup().location]\",\n+      \"dependsOn\" : [\n+        \"[resourceId('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]\",\n+        \"[resourceId('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]\"\n+      ],\n+      \"properties\" : {\n+        \"ipConfigurations\" : [\n+          {\n+            \"name\" : \"ipconfig1\",\n+            \"properties\" : {\n+              \"privateIPAllocationMethod\" : \"Dynamic\",\n+              \"publicIPAddress\" : {\n+                \"id\" : \"[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]\"\n+              },\n+              \"subnet\" : {\n+                \"id\" : \"[variables('subnetRef')]\"\n+              }\n+            }\n+          }\n+        ]\n+      }\n+    },\n+    {\n+      \"apiVersion\" : \"2017-04-01\",\n+      \"type\" : \"Microsoft.Network/publicIPAddresses\",\n+      \"name\" : \"[variables('publicIPAddressName')]\",\n+      \"location\" : \"[resourceGroup().location]\",\n+      \"properties\" : {\n+        \"publicIPAllocationMethod\" : \"Static\",\n+        \"dnsSettings\" : {\n+          \"domainNameLabel\" : \"[resourceGroup().name]\"\n+        }\n+      }\n+    },\n+    {\n+      \"apiVersion\" : \"[variables('apiVersion')]\",\n+      \"type\" : \"Microsoft.Network/virtualNetworks\",\n+      \"name\" : \"[variables('virtualNetworkName')]\",\n+      \"location\" : \"[variables('location')]\",\n+      \"tags\" : {\n+        \"displayName\" : \"VirtualNetwork\"\n+      },\n+      \"properties\" : {\n+        \"addressSpace\" : {\n+          \"addressPrefixes\" : [\n+            \"[variables('addressPrefix')]\"\n+          ]\n+        },\n+        \"subnets\" : [\n+          {\n+            \"name\" : \"[variables('virtualNetworkName')]\",\n+            \"properties\" : {\n+              \"addressPrefix\" : \"[variables('addressPrefix')]\"\n+            }\n+          }\n+        ]\n+      }\n+    },\n+    {\n+      \"type\" : \"Microsoft.Compute/virtualMachines/extensions\",\n+      \"name\" : \"[concat(resourceGroup().name,'/installcustomscript')]\",\n+      \"apiVersion\" : \"[variables('apiVersion')]\",\n+      \"location\" : \"[resourceGroup().location]\",\n+      \"tags\" : {\n+        \"displayName\" : \"VirtualMachineCustomScriptExtension\"\n+      },\n+      \"dependsOn\" : [\n+        \"[concat('Microsoft.Compute/virtualMachines/', resourceGroup().name)]\"\n+      ],\n+      \"properties\" : {\n+        \"publisher\" : \"Microsoft.Azure.Extensions\",\n+        \"type\" : \"CustomScript\",\n+        \"typeHandlerVersion\" : \"2.0\",\n+        \"autoUpgradeMinorVersion\" : true,\n+        \"settings\" : {\n+          \"fileUris\" : [\n+            \"[concat(variables('baseTemplateUrl'), 'allinone.sh')]\"\n+          ]\n+        },\n+        \"protectedSettings\" : {\n+          \"commandToExecute\" : \"[ concat('bash allinone.sh ', resourceGroup().name, ' ', resourceGroup().name, ' ',  parameters('adminUsername'), ' ', parameters('adminPassword'), ' ', reference(variables('publicIPAddressName')).dnsSettings.fqdn, ' ', '0', ' ', reference('onevmPublicIP').ipAddress, ' ', parameters('RHNUserName'), ' ', parameters('RHNPassword'),' ', parameters('SubscriptionPoolId'), ' ',  variables('sQuote'),  parameters('sshPrivateData'), variables('sQuote'),  ' ', variables('sQuote'), parameters('sshKeyData'), variables('sQuote'),' ',variables('registryStorageName'),' ',listKeys(resourceId('Microsoft.Storage/storageAccounts',variables('registryStorageName')),'2015-06-15').key1,' ',variables('location'),' ',variables('subscriptionid'),' ',variables('tenantid'),' ',parameters('aadclientid'),' ',parameters('aadclientsecret'),' ', variables('rhsmmode'),' ',parameters('metrics'),' ',parameters('logging'),' ',parameters('opslogging'))]\"","path":"reference-architecture/azure-ansible/allinone.json","position":590,"original_position":590,"commit_id":"c0d831372a673dc2eaa78acc074751df53ff6f6d","original_commit_id":"c0d831372a673dc2eaa78acc074751df53ff6f6d","user":{"login":"e-minguez","id":346758,"avatar_url":"https://avatars3.githubusercontent.com/u/346758?v=4","gravatar_id":"","url":"https://api.github.com/users/e-minguez","html_url":"https://github.com/e-minguez","followers_url":"https://api.github.com/users/e-minguez/followers","following_url":"https://api.github.com/users/e-minguez/following{/other_user}","gists_url":"https://api.github.com/users/e-minguez/gists{/gist_id}","starred_url":"https://api.github.com/users/e-minguez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-minguez/subscriptions","organizations_url":"https://api.github.com/users/e-minguez/orgs","repos_url":"https://api.github.com/users/e-minguez/repos","events_url":"https://api.github.com/users/e-minguez/events{/privacy}","received_events_url":"https://api.github.com/users/e-minguez/received_events","type":"User","site_admin":false},"body":" is variables('sQuote') needed?","created_at":"2017-08-08T05:40:23Z","updated_at":"2017-08-08T05:45:26Z","html_url":"https://github.com/openshift/openshift-ansible-contrib/pull/626#discussion_r131824876","pull_request_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/626","_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/comments/131824876"},"html":{"href":"https://github.com/openshift/openshift-ansible-contrib/pull/626#discussion_r131824876"},"pull_request":{"href":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/626"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/626","id":134566403,"html_url":"https://github.com/openshift/openshift-ansible-contrib/pull/626","diff_url":"https://github.com/openshift/openshift-ansible-contrib/pull/626.diff","patch_url":"https://github.com/openshift/openshift-ansible-contrib/pull/626.patch","issue_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/issues/626","number":626,"state":"open","locked":false,"title":"Add Support for Single Vm Deployment","user":{"login":"glennswest","id":31789,"avatar_url":"https://avatars3.githubusercontent.com/u/31789?v=4","gravatar_id":"","url":"https://api.github.com/users/glennswest","html_url":"https://github.com/glennswest","followers_url":"https://api.github.com/users/glennswest/followers","following_url":"https://api.github.com/users/glennswest/following{/other_user}","gists_url":"https://api.github.com/users/glennswest/gists{/gist_id}","starred_url":"https://api.github.com/users/glennswest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennswest/subscriptions","organizations_url":"https://api.github.com/users/glennswest/orgs","repos_url":"https://api.github.com/users/glennswest/repos","events_url":"https://api.github.com/users/glennswest/events{/privacy}","received_events_url":"https://api.github.com/users/glennswest/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis PR adds support for Single Virtual Machine Deployment of OCP.\r\n\r\n#### How should this be manually tested?\r\nCreate a deployment using the template, verify that resource group is created, one vm is created,\r\nand that openshift is installed, and a app can be launched.\r\n\r\n#### Is there a relevant Issue open for this?\r\nNone\r\n\r\n#### Who would you like to review this?\r\ncc: @e-minguez  @cooktheryan  PTAL\r\n","created_at":"2017-08-08T02:55:04Z","updated_at":"2017-08-08T05:45:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"22d7e5c495e03c27937845ce0ef33b0e98f97328","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/626/commits","review_comments_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/626/comments","review_comment_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/issues/626/comments","statuses_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/statuses/c0d831372a673dc2eaa78acc074751df53ff6f6d","head":{"label":"glennswest:master","ref":"master","sha":"c0d831372a673dc2eaa78acc074751df53ff6f6d","user":{"login":"glennswest","id":31789,"avatar_url":"https://avatars3.githubusercontent.com/u/31789?v=4","gravatar_id":"","url":"https://api.github.com/users/glennswest","html_url":"https://github.com/glennswest","followers_url":"https://api.github.com/users/glennswest/followers","following_url":"https://api.github.com/users/glennswest/following{/other_user}","gists_url":"https://api.github.com/users/glennswest/gists{/gist_id}","starred_url":"https://api.github.com/users/glennswest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennswest/subscriptions","organizations_url":"https://api.github.com/users/glennswest/orgs","repos_url":"https://api.github.com/users/glennswest/repos","events_url":"https://api.github.com/users/glennswest/events{/privacy}","received_events_url":"https://api.github.com/users/glennswest/received_events","type":"User","site_admin":false},"repo":{"id":74422680,"name":"openshift-ansible-contrib","full_name":"glennswest/openshift-ansible-contrib","owner":{"login":"glennswest","id":31789,"avatar_url":"https://avatars3.githubusercontent.com/u/31789?v=4","gravatar_id":"","url":"https://api.github.com/users/glennswest","html_url":"https://github.com/glennswest","followers_url":"https://api.github.com/users/glennswest/followers","following_url":"https://api.github.com/users/glennswest/following{/other_user}","gists_url":"https://api.github.com/users/glennswest/gists{/gist_id}","starred_url":"https://api.github.com/users/glennswest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennswest/subscriptions","organizations_url":"https://api.github.com/users/glennswest/orgs","repos_url":"https://api.github.com/users/glennswest/repos","events_url":"https://api.github.com/users/glennswest/events{/privacy}","received_events_url":"https://api.github.com/users/glennswest/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glennswest/openshift-ansible-contrib","description":null,"fork":true,"url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib","forks_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/forks","keys_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/teams","hooks_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/hooks","issue_events_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/issues/events{/number}","events_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/events","assignees_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/assignees{/user}","branches_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/branches{/branch}","tags_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/tags","blobs_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/languages","stargazers_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/stargazers","contributors_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/contributors","subscribers_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/subscribers","subscription_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/subscription","commits_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/contents/{+path}","compare_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/merges","archive_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/downloads","issues_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/issues{/number}","pulls_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/labels{/name}","releases_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/releases{/id}","deployments_url":"https://api.github.com/repos/glennswest/openshift-ansible-contrib/deployments","created_at":"2016-11-22T01:41:02Z","updated_at":"2017-04-20T04:06:14Z","pushed_at":"2017-08-08T02:51:45Z","git_url":"git://github.com/glennswest/openshift-ansible-contrib.git","ssh_url":"git@github.com:glennswest/openshift-ansible-contrib.git","clone_url":"https://github.com/glennswest/openshift-ansible-contrib.git","svn_url":"https://github.com/glennswest/openshift-ansible-contrib","homepage":null,"size":4743,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"10cb6970ff07f73864eb13755ab9fa1f06b2545a","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":54225669,"name":"openshift-ansible-contrib","full_name":"openshift/openshift-ansible-contrib","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars3.githubusercontent.com/u/792337?v=4","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/openshift-ansible-contrib","description":"Additional roles and playbooks for OpenShift installation and management","fork":false,"url":"https://api.github.com/repos/openshift/openshift-ansible-contrib","forks_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/forks","keys_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/teams","hooks_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/hooks","issue_events_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/events","assignees_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/tags","blobs_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/languages","stargazers_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/stargazers","contributors_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/contributors","subscribers_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/subscribers","subscription_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/subscription","commits_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/merges","archive_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/downloads","issues_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/labels{/name}","releases_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/openshift-ansible-contrib/deployments","created_at":"2016-03-18T19:13:00Z","updated_at":"2017-08-05T19:56:10Z","pushed_at":"2017-08-08T02:55:05Z","git_url":"git://github.com/openshift/openshift-ansible-contrib.git","ssh_url":"git@github.com:openshift/openshift-ansible-contrib.git","clone_url":"https://github.com/openshift/openshift-ansible-contrib.git","svn_url":"https://github.com/openshift/openshift-ansible-contrib","homepage":"https://www.openshift.com","size":4741,"stargazers_count":89,"watchers_count":89,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":145,"mirror_url":null,"open_issues_count":70,"forks":145,"open_issues":70,"watchers":89,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/626"},"html":{"href":"https://github.com/openshift/openshift-ansible-contrib/pull/626"},"issue":{"href":"https://api.github.com/repos/openshift/openshift-ansible-contrib/issues/626"},"comments":{"href":"https://api.github.com/repos/openshift/openshift-ansible-contrib/issues/626/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/626/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/openshift-ansible-contrib/pulls/626/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/openshift-ansible-contrib/statuses/c0d831372a673dc2eaa78acc074751df53ff6f6d"}}}}
{"actor":{"display_login":"e-minguez"}}