Install PowerShell Module to Windows Host with Ansible

    2
    0
    Install PowerShell Module to Windows Host with Ansible



    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/latest/collections/community/windows/win_psmodule_module.html), 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

    source

    Previous articleManage Windows with Ansible with Kerberos Active Directory authentication
    Next articleDocker Networking | Docker bridge network deep dive | Container bridge drive