小编use*_*708的帖子

Ansible - 如何以提升的权限执行 powershell win_command

寻找如何以提升的权限执行 powershell win_command 的指导。

我的剧本示例:

    ---
- name: Run powershell script
  hosts: win
  gather_facts: false
  tasks:
    - name: windows test command
      win_command: powershell.exe -
      args: 
        stdin: ipconfig >> c:\ipconfig.txt
Run Code Online (Sandbox Code Playgroud)

这工作正常,因为它不需要提升权限,但如果我尝试需要 runas 管理员的东西,我似乎无法弄清楚,尝试添加 'become_method: runas' 不走运?

ansible

2
推荐指数
1
解决办法
2万
查看次数

TFS整合迁移

将多个TFS服务器整合到单个服务器中.

有什么建议?没有任何有损数据传输,如下所述:http: //visualstudiogallery.msdn.microsoft.com/eb77e739-c98c-4e36-9ead-fa115b27fefe

所有服务器都运行TFS2013

tfs tfs2013

1
推荐指数
1
解决办法
132
查看次数

标签 统计

ansible ×1

tfs ×1

tfs2013 ×1