Ansible(1) - How to install Red Hat Ansible on ubuntu, 如何在Ubuntu上安装red hat ansible

1.add Ansible repository to your system 添加Ansible仓库到系统

1
$ sudo apt-add-repository ppa:ansible/ansible

Then, press [ENTER] to proceed, output likes below screenshoot shows:

Ansible1

2.Run the update command before installing to update existing packages

1
$ sudo apt-get update

Ansible2

3.install the Ansible package

1
$ sudo apt-get install ansible -y

Ansible3

4.You can check if you’re on the latest version of Ansible by running the version command

1
$ ansible --version

Ansible4

Ansible(1) - How to install Red Hat Ansible on ubuntu, 如何在Ubuntu上安装red hat ansible

https://yanmouxie.com/how-to-install-red-hat-ansible-on-ubuntu.html

Author

Yan Mouxie

Posted on

2023-02-12

Updated on

2023-09-20

Licensed under