added all

This commit is contained in:
2026-05-27 11:41:50 +02:00
parent e6d32540ef
commit 93a9b18cb7
5 changed files with 70 additions and 8 deletions

9
UbuntuAnsible.sh Normal file
View File

@@ -0,0 +1,9 @@
# Script to install Ansible on a Ubuntu system
apt-get update
# Install required packages
apt install software-properties-common -y
# Add Ansible PPA and install Ansible
apt-add-repository ppa:ansible/ansible
apt-get install ansible net-tools -y
# Add vagrant user to sudoers
echo "vagrant ALL=(ALL) NOPASSWD:ALL" | sudo tee /etc/sudoers.d/vagrant