sborenst
2017-11-15 fd6b570dea739df933314c36be13c8845c8696a5
used variable for windows password - still hard coded
2 files modified
6 ■■■■ changed files
ansible/configs/ans-tower-lab/env_vars.yml 4 ●●●● patch | view | raw | blame | history
ansible/configs/auth-playground-lab/env_vars.yml 2 ●●● patch | view | raw | blame | history
ansible/configs/ans-tower-lab/env_vars.yml
@@ -73,7 +73,7 @@
bastion_instance_type: "t2.medium"
tower_instance_count: 3
tower_instance_type: "t2.large"
tower_instance_type: "c4.large"
support_instance_count: 2
support_instance_type: "t2.medium"
@@ -121,7 +121,7 @@
                     - ""
                     - - "<powershell>\n"
                       - "$admin = [adsi]('WinNT://./administrator, user')\n"
                       - "$admin.PSBase.Invoke('SetPassword', 'jVMijRwLbI02gFCo2xkjlZ9lxEA7bm7zgg==')\n"
                       - "$admin.PSBase.Invoke('SetPassword', '{{windows_password}}')\n"
                       - "$scriptPath=((New-Object System.Net.Webclient).DownloadString('https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1'))\n"
                       - "Invoke-Command -ScriptBlock ([scriptblock]::Create($scriptPath)) -ArgumentList '-skipNetworkProfileCheck'\n"
                       - "</powershell>"
ansible/configs/auth-playground-lab/env_vars.yml
@@ -101,7 +101,7 @@
                     - ""
                     - - "<powershell>\n"
                       - "$admin = [adsi]('WinNT://./administrator, user')\n"
                       - "$admin.PSBase.Invoke('SetPassword', 'jVMijRwLbI02gFCo2xkjlZ9lxEA7bm7zgg==')\n"
                       - "$admin.PSBase.Invoke('SetPassword', '{{windows_password}}')\n"
                       - "$scriptPath=((New-Object System.Net.Webclient).DownloadString('https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1'))\n"
                       - "Invoke-Command -ScriptBlock ([scriptblock]::Create($scriptPath)) -ArgumentList '-skipNetworkProfileCheck'\n"
                       - "</powershell>"