Ansible yml based inventory file

Create yml inventory file for AWS Ec2 

 all:
  hosts:
    web:
      ansible_host: web1.amazon.com
      ansible_port: 22
      ansible_user: ubuntu
      ansible_ssh_private_key: /path/file.pem

Share on Google Plus

About Penguin Technology

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

0 comments:

Post a Comment