我正在将我的linux脚本转换为windows。有一个名为" script“的模块是可用的,它在远程目标计算机上运行本地脚本。但不存在等价类win_script模。当我使用win_shell模块时,它期望该文件位于远程计算机中。- name: Create a filesystem and perform IO operation using powershell script
win
Ansible有yum模块, 我们可以使用它来安装一个包: ansible all -m yum -a 'name=vim state=latest' 但是如何使用它来执行clean和make我只知道脚本的方式: ansible all -m shell -a 'yum clean all'
ansible all -m shell -a 'y
我正在尝试在我的Ansible本地主机上运行脚本。我现在所拥有的是: ansible.builtin.shell: ".this task 'ansible.builtin.shell' has extra params, which is only allowed in the following mo