https://github.com/knuckles-team/server-automation
Ansible Automation to be Executed on Inventory
https://github.com/knuckles-team/server-automation
ansible ansible-playbook
Last synced: 5 months ago
JSON representation
Ansible Automation to be Executed on Inventory
- Host: GitHub
- URL: https://github.com/knuckles-team/server-automation
- Owner: Knuckles-Team
- License: mit
- Created: 2023-01-16T10:28:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-07T12:58:10.000Z (almost 2 years ago)
- Last Synced: 2024-12-04T09:11:44.652Z (over 1 year ago)
- Topics: ansible, ansible-playbook
- Language: Dockerfile
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Add ansible user to Ubuntu and add to sudoers
```bash
sudo adduser ansible
sudo usermod -aG sudo ansible
sudo visudo /etc/sudoers
ansible ALL=(ALL) NOPASSWD:ALL
```
```bash
export ANSIBLE_HOST_KEY_CHECKING=True
ansible-playbook -i ./inventory.yml manage_homelab.yml
```