【问题标题】:Failed to start ansibled.service: Unit not found无法启动 ansibled.service:未找到单元
【发布时间】:2020-01-02 17:10:56
【问题描述】:

我无法启动安装在 Centos/7 中的 ansible 服务器,但安装工作正常,请帮忙

[vagrant@ansible-server ~]$ sudo systemctl status ansibled

Unit ansibled.service could not be found.

[vagrant@ansible-server ~]$ sudo systemctl start ansibled

Failed to start ansibled.service: Unit not found.

【问题讨论】:

  • ansible 不是服务,没有ansibled。只需使用ansibleansible-playbook 命令

标签: ansible vagrant centos7


【解决方案1】:

Ansible 不是 Linux 系统服务。您使用的命令可用于安装在 linux 上的任何服务。只需使用 Ansible 命令来运行您的 playbook 或 adhoc 命令。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-10-26
    • 2021-10-08
    • 1970-01-01
    • 1970-01-01
    • 2019-08-20
    • 1970-01-01
    • 2019-10-24
    • 2018-03-25
    相关资源
    最近更新 更多