Install PowerShell Module to Windows Host with Ansible

Published: 02 October 2020
on channel: TechSnips by ATA Learning
1,449
17

Train thousands of people, up your skills and get that next awesome job by joining TechSnips and becoming an IT rockstar! https://techsnips.io/join-us

If you're using Ansible to configure new servers and services that rely on particular PowerShell modules, or looking to deploy a PowerShell module to your entire server inventory, Ansible has an answer for these tasks at scale.

Using the Ansible Module win_psmodule (https://docs.ansible.com/ansible/late..., we will install some PSGallery modules to a remote Windows Server using an Ansible Playbook. The best part of this method is the ability to scale, install, and verify across any number of hosts from the same playbook!

Prerequisites: The following module must be installed on your ansible control server, and can be done so via the following command:
ansible-galaxy collection install community.windows

Prerequisites include:
The following module must be installed on your ansible control server, and can be done so via the following command:
ansible-galaxy collection install community.windows


Watch video Install PowerShell Module to Windows Host with Ansible online without registration, duration hours minute second in high quality. This video was added by user TechSnips by ATA Learning 02 October 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,449 once and liked it 17 people.