【问题标题】:ansible-doc ios_command not foundansible-doc ios_command 未找到
【发布时间】:2016-10-20 17:01:27
【问题描述】:

Ansible 文档指出 ios_command 模块是一个核心模块。但是,如果我查找这方面的文档,我会得到:

$ ansible-doc ios_command
module ios_command not found in /usr/share/ansible:...

知道为什么吗?

【问题讨论】:

    标签: ansible cisco-ios


    【解决方案1】:

    请检查您的 Ansible 版本。
    ios_command 从 2.1 版开始可用。
    此外,您的机器上可能有多个不同版本的 Ansible(如 apt 和 pip)。

    在我的机器上:

    $ ansible --version
    ansible 2.1.2.0
    $ ansible-doc -l | grep ios_command
    ios_command                        Run arbitrary commands on ios devices.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多