Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
7309b2ad
Commit
7309b2ad
authored
Jun 18, 2014
by
Michael DeHaan
Committed by
Matt Martz
Jun 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add explanation of windows upgrade details.
parent
61c236be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
examples/scripts/UpgradeToPS3.ps1
+11
-3
library/windows/win_get_url
+1
-2
No files found.
examples/scripts/UpgradeToPS3.ps1
View file @
7309b2ad
# Upgrade to PowerShell 3.0
# Powershell script to upgrade a PowerShell 2.0 system to PowerShell 3.0
#
# some Ansible modules that may use Powershell 3 features, so systems may need
# to be upgraded. This may be used by a sample playbook. Refer to the windows
# documentation on docs.ansible.com for details.
#
# - hosts: windows
# tasks:
# - script: upgrade_to_ps3.ps1
# Get version of OS
...
...
@@ -68,4 +77,4 @@ else
$FileName
=
$DownLoadUrl
.Split
(
'/'
)[
-1]
download-file
$downloadurl
"
$powershellpath
\
$filename
"
.
"
$powershellpath
\
$filename
"
/quiet /log
"C:\powershell\install.log"
\ No newline at end of file
.
"
$powershellpath
\
$filename
"
/quiet
library/windows/win_get_url
View file @
7309b2ad
...
...
@@ -31,4 +31,4 @@ $ ansible -i hosts -c winrm -m win_get_url -a "url=http://www.example.com/earthr
win_get_url:
url: 'http://www.example.com/earthrise.jpg'
dest: 'C:\Users\RandomUser\earthrise.jpg'
'''
\ No newline at end of file
'''
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment