Set & Check Hosts Connection Command What does it do? sudo nano /etc/ansible/hosts Set up hosts by editing the hosts' file in the Ansible directory ansible –m ping <hosts> Ansible’s …
Format and Validate Terraform code terraform fmt format code per HCL canonical standard terraform validate validate code for syntax terraform validate -backend=false validate code skip backend validation Initialize your Terraform …
Creating objects Command What does it do? kubectl apply -f ./my-manifest.yaml create resource(s) kubectl apply -f ./my1.yaml -f ./my2.yaml create from multiple files kubectl apply -f ./dir create resource(s) in …
Image Build & Push Command What does it do? docker build -t myapp :1.0 . To build an image from the Docker file and tag it docker image ls To …
Git Basics Command What does it do? git init Create empty Git repo in specified directory. Run with no arguments to initialize the current directory as a git repository git …