Hi, Can you please explain how to write an ansible playbook in a very simple way? It's a bit confusing regarding spaces & hypens. I think it's called indentation. In terraform as well its used spaces curly brackets etc,, I am not from a programming background. Please, it's a request.
Hi, Ansible is a tool which can do various automation tasks, such as configuration management, continuous deployment and server provisioning and all. where as user data field in AWS ec2 creation only being used to install or setup any config during machine creation.
Hi Ishan, thanks for your comment. Yes, you can do with Ansible also, but Terraform is specifically designed for Infrastructure Automation where as Ansible for Configuration Management and continuous deployment. It's upto you how you use the tools based on your requirement.
Hi Ranjit thanks for the video, i have a question, it is possible to run the ansible playbook with out paste authorized key manually, it is possible to automate this process also.
Hi. Nice thumbnail so I drop by to find a latest Ansible + Terraform vid. My feedback, you doesn't use Ansible in Terraform or Terraform in Ansible as the title and also you have to ssh to node that have Ansible which defeat the purpose of Ansible. So this is kinda manual between of those. I mean you can simplify if you want to show this.
Hi, Many thanks for your feedback. Yes, it's manual execution between of both the Terraform & Ansible code. Here I have used Terraform for server provisioning and Ansible for Configuration management and continuous deployment.
Well explained, thanks for sharing.😊
My pleasure 😊
Well explained 👍🏽
Thank you 🙂
Hi,
Can you please explain how to write an ansible playbook in a very simple way? It's a bit confusing regarding spaces & hypens. I think it's called indentation. In terraform as well its used spaces curly brackets etc,, I am not from a programming background. Please, it's a request.
Hi, thanks for your valuable comment. I will make one shortly for beginners.
Is there any possibility that we can run that ansible playbook also while Applying the terraform.??..like by using provisioners
??
Hi @Gangadhar0913, thanks for writing. Ansible should first to be installed to execute the playbook. This will not work perfectly.
Hi
What’s the different between using ansible and using the same commands in user-data on ec2 initialisation?
Hi, Ansible is a tool which can do various automation tasks, such as configuration management, continuous deployment and server provisioning and all. where as user data field in AWS ec2 creation only being used to install or setup any config during machine creation.
Hi Ranjit, I am interested in doing Terraform with Ansible but on azure platform. Can you advise.
sir this can be done with only ansible also why u used terraform , actually i am new in this , so how terraform helps here ?
Hi Ishan, thanks for your comment.
Yes, you can do with Ansible also, but Terraform is specifically designed for Infrastructure Automation where as Ansible for Configuration Management and continuous deployment.
It's upto you how you use the tools based on your requirement.
Hi Ranjit thanks for the video, i have a question, it is possible to run the ansible playbook with out paste authorized key manually, it is possible to automate this process also.
Hi Harsha, thanks for writing.
Yes, we can do that by adding the server certificate/key file path in the 'ansible.cfg' file.
Hi. Nice thumbnail so I drop by to find a latest Ansible + Terraform vid. My feedback, you doesn't use Ansible in Terraform or Terraform in Ansible as the title and also you have to ssh to node that have Ansible which defeat the purpose of Ansible. So this is kinda manual between of those. I mean you can simplify if you want to show this.
Hi, Many thanks for your feedback. Yes, it's manual execution between of both the Terraform & Ansible code. Here I have used Terraform for server provisioning and Ansible for Configuration management and continuous deployment.
Get a good text editer, this doesnt make you an expert
Hi Ranjit, I am interested in doing Terraform with Ansible please add me
Hi, Sure I will add you.
Please share your contact number.