【发布时间】:2019-04-16 05:39:33
【问题描述】:
有人可以请教。 我正在做的是在远程 Windows 机器上下载 phpstorme 并安装它,但它安装了 32 位,我如何强制 ansible 安装 64 位? 先感谢您。下面的剧本。
---
- hosts: win
gather_facts: true
# ansible_connection: winrm
tasks:
name: Download application
win_get_url:
url: https://download-cf.jetbrains.com/webide/PhpStorm-2018.2.5.exe
dest: 'C:\Users\administrator\Downloads'
name: Install application
win_package:
path: 'C:\Users\administrator\Downloads\PhpStorm-2018.2.5.exe'
product_id: "PhpStorm"
arguments: /S /install
state: present
【问题讨论】:
标签: windows automation ansible installation exe