September 2023
-
Checking playbook syntax – Infrastructure as Code (IaC) with Terraform
It is a best practice to check playbook syntax before applying it to your inventory. To check your playbook’s syntax, run the following command:$ ansible-playbook ping.yaml –syntax-checkplaybook: ping.yaml The syntax…