Terraform - Ansible : Realtime Project | Create an Instance and Execute Ansible playbook

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 20

  • @nirranjankaayatek9200
    @nirranjankaayatek9200 Рік тому +1

    Well explained, thanks for sharing.😊

  • @thierryJoe
    @thierryJoe Рік тому +1

    Well explained 👍🏽

  • @vinvvinv7460
    @vinvvinv7460 2 роки тому +2

    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.

    • @RanjitSwain
      @RanjitSwain  2 роки тому

      Hi, thanks for your valuable comment. I will make one shortly for beginners.

  • @The_Knowledge_Orbit
    @The_Knowledge_Orbit 11 місяців тому

    Is there any possibility that we can run that ansible playbook also while Applying the terraform.??..like by using provisioners
    ??

    • @RanjitSwain
      @RanjitSwain  11 місяців тому

      Hi @Gangadhar0913, thanks for writing. Ansible should first to be installed to execute the playbook. This will not work perfectly.

  • @Thetinytoe
    @Thetinytoe Рік тому

    Hi
    What’s the different between using ansible and using the same commands in user-data on ec2 initialisation?

    • @RanjitSwain
      @RanjitSwain  Рік тому

      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.

  • @ParamjeetKakkar-kb3ss
    @ParamjeetKakkar-kb3ss Рік тому

    Hi Ranjit, I am interested in doing Terraform with Ansible but on azure platform. Can you advise.

  • @ishanchauhan4523
    @ishanchauhan4523 2 роки тому +1

    sir this can be done with only ansible also why u used terraform , actually i am new in this , so how terraform helps here ?

    • @RanjitSwain
      @RanjitSwain  2 роки тому

      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.

  • @harshathunder2465
    @harshathunder2465 2 роки тому +1

    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.

    • @RanjitSwain
      @RanjitSwain  2 роки тому

      Hi Harsha, thanks for writing.
      Yes, we can do that by adding the server certificate/key file path in the 'ansible.cfg' file.

  • @lannokia8298
    @lannokia8298 2 роки тому

    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.

    • @RanjitSwain
      @RanjitSwain  2 роки тому

      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.

  • @edwardmike7523
    @edwardmike7523 3 місяці тому

    Get a good text editer, this doesnt make you an expert

  • @Beyondcityfacts
    @Beyondcityfacts Рік тому

    Hi Ranjit, I am interested in doing Terraform with Ansible please add me

    • @RanjitSwain
      @RanjitSwain  Рік тому

      Hi, Sure I will add you.
      Please share your contact number.