Skip to content

Knuckles-Team/server-automation

Repository files navigation

Add ansible user to Ubuntu and add to sudoers

sudo adduser ansible
sudo usermod -aG sudo ansible
sudo visudo /etc/sudoers
ansible ALL=(ALL) NOPASSWD:ALL
export ANSIBLE_HOST_KEY_CHECKING=True
ansible-playbook -i ./inventory.yml manage_homelab.yml

About

Ansible Automation to be Executed on Inventory

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published