mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2025-08-02 09:33:16 +08:00
Add distribution filter and update README
This commit is contained in:
parent
d097b005e1
commit
3fe0152550
4 changed files with 18 additions and 5 deletions
|
@ -6,7 +6,7 @@ This repository contains my Ansible playbook configuration and scripts.
|
|||
|
||||
To install the Ansible playbook, follow these steps:
|
||||
|
||||
1. Clone this repository using `git clone <repository-url>`
|
||||
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`
|
||||
|
||||
|
@ -15,5 +15,7 @@ To install the Ansible playbook, follow these steps:
|
|||
To run an Ansible playbook, navigate to the desired playbook directory and execute:
|
||||
|
||||
```bash
|
||||
ansible-playbook -i inventory.ini playbook.yml
|
||||
ansible-playbook -i inventory playbook.yml
|
||||
```
|
||||
|
||||
Don't forget to update hosts in `inventory`!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue