Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
April Wilkerson - https://www.youtube.com/channel/UC4v2tQ8GqP0RbmAzhp4IFkQ | |
colinfurze - https://www.youtube.com/channel/UCp68_FLety0O-n9QU6phsgw | |
Darbin Orvar - https://www.youtube.com/channel/UCIrtu3uSwehD0pfmfMsHhUA | |
DN Handcrafted - https://www.youtube.com/channel/UCpMWio7UVcxsXlFbAu56LcA | |
FineWoodworking - https://www.youtube.com/channel/UC47EhkMV18WlRqV3VhUH3yg | |
I Build It - https://www.youtube.com/channel/UCzGbp-rRVNwyFhn9gHoZr5g | |
I Like To Make Stuff - https://www.youtube.com/user/iliketomakestuffcom | |
izzy swan - https://www.youtube.com/user/rusticman1973 | |
Jay Bates - https://www.youtube.com/channel/UC-7XY-W_C84cW2MNqujgFpg | |
jimmydiresta - https://www.youtube.com/channel/UCiEk4xHBbz0hZNIBBpowdYQ |
--- | |
- hosts: windows | |
vars: | |
ansible_site_path: "c:\\inetpub\\wwwroot\\ansibletest" | |
staging_path: "c:\\deploy" | |
ansible_test_staging_path: "{{ staging_path }}\\ansible-test-site-{{ ansible_date_time.year }}{{ ansible_date_time.month }}{{ ansible_date_time.day }}" | |
tasks: | |
- name: install-iis | |
win_feature: | |
name: "Web-Server" |
#Source: https://michaelryom.dk/auto-create-nano-server-for-esxi-with-powershell | |
#Created by Michael Ryom @MichaelRyom.dk | |
#Https://MichaelRyom.dk | |
#Go to https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-technical-preview and download Windows Server TP 5 - Nano ISO | |
#Link that might work ? http://care.dlservice.microsoft.com/dl/download/B/3/3/B33F3810-EE82-4C20-B864-394A2C4B6661/Nano-WindowsServerTechnicalPreview5.vhd | |
#Windows Server TP5 Licnese Key MFY9F-XBN2F-TYFMP-CCV49-RMYVH | |
#Download image if link works: wget http://care.dlservice.microsoft.com/dl/download/B/3/3/B33F3810-EE82-4C20-B864-394A2C4B6661/Nano-WindowsServerTechnicalPreview5.vhd -OutFile C:\temp\Windows-Nano-Server-TP5.VHD | |
#http://care.dlservice.microsoft.com/dl/download/8/9/2/89284B3B-BA51-49C8-90F8-59C0A58D0E70/14300.1000.160324-1723.RS1_RELEASE_SVC_SERVER_OEMRET_X64FRE_EN-US.ISO | |
#Variables that can be chnaged |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
I missed last night's ASP.NET Community Standup on account of being shattered after a long day and falling asleep. Then I checked Twitter on the train this morning and discovered that the .NET world had, apparently, been burned to the ground by marauding Microsofties (again). It seemed to have something to do with project files, JSON vs XML, and suchlike.
Finally, lunchtime happened and I could watch the recording of the standup, and I got to understand what everyone was on about. In case you've missed it:
make
, and Gates did not own make
, so Gates said "Let there be MSBuild" and there was MSBuild
.MSBuild
used the *.*proj
files from Visual Studio as its inputs, which were formed of terrible XML, and verily it was impossible to use without a Visual Studio license.namespace Analogy | |
{ | |
/// <summary> | |
/// This example shows that a library that needs access to target .NET Standard 1.3 | |
/// can only access APIs available in that .NET Standard. Even though similar the APIs exist on .NET | |
/// Framework 4.5, it implements a version of .NET Standard that isn't compatible with the library. | |
/// </summary>INetCoreApp10 | |
class Example1 | |
{ | |
public void Net45Application(INetFramework45 platform) |
#Configure NIC as Env has no DHCP | |
$netadapter = Get-NetAdapter -Name Ethernet | |
## Disable DHCP | |
$netadapter | Set-NetIPInterface -DHCP Disabled | |
## Configure the IP address and default gateway for "VM Network" in Env | |
$netadapter | New-NetIPAddress -AddressFamily IPv4 -IPAddress 10.1.0.250 -PrefixLength 24 -Type Unicast -DefaultGateway 10.1.0.254 | |
## Configure the DNS servers | |
Set-DnsClientServerAddress -InterfaceAlias Ethernet -ServerAddresses ("172.1.0.2","172.1.0.3”) |
{ | |
"variables": { | |
"clusterName": "", | |
"datacenterName": "", | |
"hostName": "", | |
"ESXusernameText": "", | |
"ESXpasswordText": "", | |
"user": "", | |
"password": "", | |
"vm_nameText": "", |
{ | |
"clusterName": "MyCluster", | |
"datacenterName": "Melbourne", | |
"hostName": "esxihost.localnet", | |
"ESXusernameText": "root", | |
"ESXpasswordText": "password", | |
"user": "packer", | |
"password": "password", | |
"vm_nameText": "PackerTemplateWin2012R2", | |
"vm_networkName": "VM Network", |