简体   繁体   English

使用Ansible将AD与Windows集成

[英]AD integration with Windows using Ansible

Is there any module to integrate Active Directory with windows using Ansible ? 是否有使用Ansible将Active Directory与Windows集成的模块? I am executing some Powershell command to add my windows instance in Active Directory ? 我正在执行一些Powershell命令以将Windows实例添加到Active Directory中? Can any one suggest me how we can do via ansible ? 有人可以建议我如何通过ansible吗?

You can use the script command to execute powershell scripts. 您可以使用script命令执行Powershell脚本。 See module here: http://docs.ansible.com/ansible/script_module.html 在此处查看模块: http : //docs.ansible.com/ansible/script_module.html

tasks: - script: foo.ps1 --argument --other-argument

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM