- Ansible Quick Start Guide
- Mohamed Alibi
- 359字
- 2021-07-23 16:37:42
Debian package installation
For Debian users, as you may already know, if you want to use the latest versions of a tool, you need to be running the latest stable or testing release of the Debian OS. The testing release is not recommended, but is used by some people. Because Debian is very reliable, operating system administrators tend to set up a Debian server and then forget about it for years and years, because it continues to do what it is supposed to do without a single problem. Often, administrators tend to have lots of old, stable Debian releases running. We don't recommend using these if you want to have the latest Ansible version, with all its perks, modules, and plugins, unless you do an alternative installation (with PyPI, a source installation, or via a container).
We are going to be using Debian 9 (Stretch) as it is the latest Debian stable release. Debian 9 allows you to use many Ubuntu package sources for Ansible. We can either add the DEB line to the source.list file or add the Personal Package Archives (PPA) to the list. First, we need to install the software properties package:
sudo apt-get install -y software-properties-common
We then use a text editor and add the following DEB to /etc/apt/source.list:
deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main
Then authenticate the link by adding its key to apt:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
Usually, adding a repository requires you to update the package manager cache:
sudo apt update
Then we can install Ansible:
sudo apt install -y ansible
- Microsoft Dynamics CRM Customization Essentials
- 智能傳感器技術與應用
- Cinema 4D R13 Cookbook
- Verilog HDL數字系統設計入門與應用實例
- Windows 8應用開發實戰
- Hands-On Machine Learning with TensorFlow.js
- Splunk Operational Intelligence Cookbook
- Implementing AWS:Design,Build,and Manage your Infrastructure
- Machine Learning with Apache Spark Quick Start Guide
- 手機游戲程序開發
- Introduction to R for Business Intelligence
- 菜鳥起飛電腦組裝·維護與故障排查
- Linux常用命令簡明手冊
- 運動控制系統
- JSP通用范例開發金典