Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justin-p/ansible-role-posh5
Update PowerShell/Windows Management Framework to Version 5.1, enure that .Net applications use Strong TLS, configure NuGet, PowerShell Gallery, PowerShellGet and install the PSReadline Module.
https://github.com/justin-p/ansible-role-posh5
ansible ansible-galaxy ansible-role hacktoberfest microsoft posh posh5 powershell powershell5 windowsmanagementframework wmf
Last synced: 25 days ago
JSON representation
Update PowerShell/Windows Management Framework to Version 5.1, enure that .Net applications use Strong TLS, configure NuGet, PowerShell Gallery, PowerShellGet and install the PSReadline Module.
- Host: GitHub
- URL: https://github.com/justin-p/ansible-role-posh5
- Owner: justin-p
- License: mit
- Created: 2020-04-06T13:37:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-19T20:09:47.000Z (8 months ago)
- Last Synced: 2024-03-19T21:31:52.112Z (8 months ago)
- Topics: ansible, ansible-galaxy, ansible-role, hacktoberfest, microsoft, posh, posh5, powershell, powershell5, windowsmanagementframework, wmf
- Homepage:
- Size: 49.8 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-role-posh5
[![Ansible Role Name](https://img.shields.io/ansible/role/d/justin_p/posh5?style=flat-square
)](https://galaxy.ansible.com/justin_p/posh5)
[![Github Actions](https://img.shields.io/github/actions/workflow/status/justin-p/ansible-role-posh5/main.yml?label=Github%20Actions&logo=github&style=flat-square)](https://github.com/justin-p/ansible-role-posh5/actions)This role will update PowerShell/Windows Management Framework to Version 5.1, enure that .Net applications use Strong TLS, configure NuGet, PowerShell Gallery, PowerShellGet and install the PSReadline Module.
All of this ensures that PowerShell functions like it does on modern Windows Systems. This ensures you can use `Install-Module` and by extend `win_psmodule` to install PowerShell modules or DSCs on older versions of Windows without any additional manual configuration.
Works on
- Windows Server 2019
- Windows Server 2016
- Windows Server 2012R2
- Windows Server 2012Not validated (yet) on
- Windows Server 2008R2
- Windows Server 2008 x64
- Windows Server 2008 x32## Requirements
N/A
## Role Variables
N/A
## Dependencies
N/A
## Example Playbook
- hosts: posh5
roles:
- { role: justin_p.posh5 }## Local Development
This role includes a Vagrantfile that will spin up a local Windows Server 2019 VM in Virtualbox.
After creating the VM it will automatically run our role.### Development requirements
`pip3 install pywinrm`
#### Usage
- Run `vagrant up` to create a VM and run our playbook
- Run `vagrant provision` to reapply our playbook
- Run `vagrant destroy -f && vagrant up` to recreate the VM and run our playbook.
- Run `vagrant destroy` to remove the VM.## License
MIT
## Authors
- Justin Perdok ([@justin-p](https://github.com/justin-p/)), Orange Cyberdefense
## Contributing
Feel free to open issues, contribute and submit your Pull Requests. You can also ping me on Twitter ([@JustinPerdok](https://twitter.com/JustinPerdok)).