官方安装教程

  1. https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html

Ubuntu 安装 Ansible

  1. apt update
  2. apt install -y software-properties-common
  3. add-apt-repository --yes --update ppa:ansible/ansible
  4. apt-get install -y ansible