From f353bc8ceb8ba53f24e594af7440ca72a7c73706 Mon Sep 17 00:00:00 2001 From: RadinPirouz Date: Mon, 9 Sep 2024 21:32:38 +0330 Subject: [PATCH] Update Ansible Roles And PlayBook Doc#2 --- Configuration Management & Automation/Ansible/3-PlayBook.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Configuration Management & Automation/Ansible/3-PlayBook.md b/Configuration Management & Automation/Ansible/3-PlayBook.md index 421283e..0c6add1 100755 --- a/Configuration Management & Automation/Ansible/3-PlayBook.md +++ b/Configuration Management & Automation/Ansible/3-PlayBook.md @@ -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