首页 > 解决方案 > 无法启动 ansibled.service:未找到单元

问题描述

我无法启动安装在 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.

标签: ansiblevagrantcentos7

解决方案


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


推荐阅读