This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
packaging | |
requests[security] | |
xmltodict | |
azure-cli-core==2.11.1 | |
azure-cli-nspkg==3.0.2 | |
azure-common==1.1.11 | |
azure-mgmt-authorization==0.51.1 | |
azure-mgmt-batch==5.0.1 | |
azure-mgmt-cdn==3.0.0 | |
azure-mgmt-compute==10.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
# Define parameters and values | |
[string]$newWebLanguage="en-au", | |
[string]$desktopConfigFile=“$env:userprofile\\AppData\Roaming\Microsoft\Teams\desktop-config.json”, | |
[string]$cookieFile="$env:userprofile\\AppData\Roaming\Microsoft\teams\Cookies", | |
[string]$registryPath="HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", | |
[string]$registryDisplayName="Microsoft Teams", | |
[string]$processName="Teams" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param( | |
# Define parameters and values | |
[string]$newWebLanguage="en-au", | |
[bool]$newDisableGpu=$true, | |
[string]$desktopConfigFile=“$env:userprofile\\AppData\Roaming\Microsoft\Teams\desktop-config.json”, | |
[string]$cookieFile="$env:userprofile\\AppData\Roaming\Microsoft\teams\Cookies", | |
[string]$registryPath="HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall", | |
[string]$registryDisplayName="Microsoft Teams", | |
[string]$processName="Teams" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_version = "~> 0.13.0" | |
required_providers { | |
azurerm = { | |
source = "hashicorp/azurerm" | |
version = "~> 2.29.0" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_version = "~> 0.13.0" | |
required_providers { | |
azurerm = { | |
source = "hashicorp/azurerm" | |
version = "~> 2.29.0" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update all packages that have available updates. | |
sudo apt-get update | |
sudo apt upgrade -y | |
# Install ansible developer requirements | |
pip3 install wheel --quiet | |
pip3 install pywinrm --quiet | |
pip3 install requests --quiet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install the Azure CLI to your Ansible control host to authenticate to Azure | |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash | |
# authenticate and set the desired subscription context | |
az login | |
az account list | |
az subscription set -s SUBSCRIPTIONID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Initialize new molecule scenario using Azure driver | |
molecule init scenario rhel8 -d azure | |
# List molecule scenarios | |
molecule list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List available molecule drivers | |
molecule drivers | |
# Initialize a new molecule role using azure driver | |
molecule init role ansible-role-exampleApp -d azure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install ansible azure modules | |
pip install 'ansible[azure]' | |
# Install molecule azure driver | |
pip install molecule-azure |