按着官网提供的安装ansible To configure the PPA on your machine and install ansible run these commands: $ sudo apt update $ sudo apt install software-properties-common $ sudo apt-add-repository --yes --update ppa:ansible/ansible $ sudo apt install ansible 当在服务…