【发布时间】:2018-02-06 13:32:48
【问题描述】:
我需要在剧本中使用与 cpio 相关的命令,例如 cpio -imdv 。 CPIO 命令必须使用哪个 ansible 模块。
【问题讨论】:
标签: ansible ansible-2.x
我需要在剧本中使用与 cpio 相关的命令,例如 cpio -imdv 。 CPIO 命令必须使用哪个 ansible 模块。
【问题讨论】:
标签: ansible ansible-2.x
你能用一个简单的命令吗?
- name: Execute the command in remote shell
shell: cpio -imdv
【讨论】: