Update Ansible Roles And PlayBook Doc#2

This commit is contained in:
2024-09-09 21:32:38 +03:30
parent a096f52e8a
commit f353bc8ceb

View File

@@ -55,12 +55,6 @@ This command runs the `deploy_nginx.yaml` playbook on the hosts defined in `inve
- **Handlers**: Special tasks triggered by other tasks using the `notify` directive.
- **Variables**: Dynamic values that can be reused across tasks and playbooks for flexibility and maintainability.
give var in command line
```bash
ansible-playbook -i server.ini main.yaml -e "env=2"
```
---
## Example Playbooks