mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2025-10-25 07:04:56 +08:00
No description
| .vscode | ||
| inventory | ||
| roles | ||
| .gitignore | ||
| ansible.cfg | ||
| README.md | ||
| requirements.yml | ||
Ansible Playbook Repository
This repository contains my Ansible playbook configuration and scripts.
Installation
To install the Ansible playbook, follow these steps:
- Clone this repository
- Install Ansible on your system if you haven't already:
sudo apt-get install ansible - Move into the repository directory:
cd /path/to/ansible-playbooks - Navigate to the repository directory:
cd /path/to/ansible-playbooks - Install required Ansible Galaxy roles using Ansible Galaxy:
ansible-galaxy install -r requirements.yml
Usage
To run an Ansible playbook, navigate to the desired playbook directory and execute:
ansible-playbook -i inventory playbook.yml
Don't forget to update hosts in inventory!