Skip to content

Htunn/Ansible_PlayGround

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Board Status

Prerequisites

ubuntu or whatever linux distro

  1. aws-cli
  2. aws-sdk
  3. ansible

Preparing a Local Environment

For ubuntu

  • sudo apt update
  • sudo apt install python3-pip
  • pip3 install awscli
  • pip3 install boto boto3 botocore
  • pip3 install ansible

AWS CLI Links

configure aws credentials with aws-cli

  • aws configure
  • cat .aws/credentials

You can get keys from the Your Security Credentials page in the AWS Management

AccessKeyId: example_key

SecretAccessKey: example_secret_key

Testing your aws credentials is working or not

aws sts get-caller-identity

to use aws credentials in ansible use environment variables

modify your bash_rc or bash_profile

export AWS_ACCESS_KEY_ID='your access key id'

export AWS_SECRET_ACCESS_KEY='your secret access key'

export AWS_REGION='your region'

AWS and Ansible

About

IaC and CaC practice with Ansible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published