问题描述
我正在尝试设置 Windows 服务,我通过下面的 ansible 凭据登录到 Windows 机器,我想使用我用来登录 Windows 机器进行 Windows 服务设置的用户名和密码,请帮助如何读取凭证信息并传递到以下步骤。
- name: Set the log on user to a domain account
ansible.windows.win_service:
name: service name
path: C:\temp\test.exe
state: restarted
username: DOMAIN\User
password: Password
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)