6 lines
245 B
Bash
6 lines
245 B
Bash
# Script to install Ansible on a Ubuntu system
|
|
apt-get update
|
|
# Add Ansible repository and install 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 |