From cd14af35b2f1ea3643661760439b7fd498e15245 Mon Sep 17 00:00:00 2001 From: wtj Date: Thu, 27 Jul 2023 10:22:41 +0800 Subject: [PATCH] docs: install Ansible with apt --- docs/cloudlab.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/cloudlab.md b/docs/cloudlab.md index 2953f888cc..dda2c8c7d4 100644 --- a/docs/cloudlab.md +++ b/docs/cloudlab.md @@ -33,8 +33,10 @@ We are going to manage CloudLab machines with Ansible **from our local machine** # Install Ansible # -# A Python virtual environment is encouraged, which is not detailed here though. -pip3 install ansible +sudo apt update +sudo apt install software-properties-common +sudo add-apt-repository --yes --update ppa:ansible/ansible +sudo apt install ansible ansible-galaxy collection install ansible.posix ansible-galaxy collection install community.general