No description
Find a file
2024-10-25 21:48:54 +08:00
.vscode Add distribution filter and update README 2024-10-25 20:00:21 +08:00
.gitignore Update gitignore 2024-10-25 17:36:51 +08:00
ansible.cfg Initial commit 2024-10-25 16:02:50 +08:00
inventory Update groupings in playbooks 2024-10-25 20:36:12 +08:00
README.md Add Ansible OpenWRT role 2024-10-25 21:48:54 +08:00
requirements.yml Add Ansible OpenWRT role 2024-10-25 21:48:54 +08:00
setup.yml Add Ansible OpenWRT role 2024-10-25 21:48:54 +08:00
update.yml Update groupings in playbooks 2024-10-25 20:36:12 +08:00

Ansible Playbook Repository

This repository contains my Ansible playbook configuration and scripts.

Installation

To install the Ansible playbook, follow these steps:

  1. Clone this repository
  2. Install Ansible on your system if you haven't already: sudo apt-get install ansible
  3. Move into the repository directory: cd /path/to/ansible-playbooks
  4. Navigate to the repository directory: cd /path/to/ansible-playbooks
  5. 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!