
Ansible: Windows Server ターゲットで PowerShell スクリプトを実行する3つの方法
Ansible の Windows Server Target で PowerShell スクリプトを実行する、次の3パターンの方法を説明します。
・Playbook 内に書いたスクリプトを実行
・Ansible Controller 上に置いた ps1 ファイルを Target で実行
・Target サーバー上にあるスクリプトファイルを Ansible Controller から実行