oatakan.windows_powershell_upgrade
windows_powershell_upgrade
This repo contains an Ansible role that upgrades Powershell on Windows systems. It can be especially useful when you need to bootstrap Windows 7 SP1 or Windows 2008 R2 where powershell version 2.0 which is not supported by Ansible. You can run this role as part of VMware template build role or packer role as part of CI/CD pipeline for building Windows templates.
Note: This role is provided as an example only. Do not use this in production. You can fork/clone and add/remove steps for your environment based on your organization's security and operational requirements.
Requirements
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
Role Variables
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
Dependencies
A list of roles that this role utilizes:
- oatakan.windows_hotfix
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- oatakan.windows_powershell_upgrade
License
MIT
Author Information
Orcun Atakan
Ansible galaxy role for upgrading Powershell on Windows systems
ansible-galaxy install oatakan.windows_powershell_upgrade