Skip to content

intrajp/ansible_scripts_for_aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible_scripts

automate aws things.

First you need to install 'python3-boto' and 'python3-boto3' packages.

create 'ansible_access_key' and 'ansible_secret_key' by ansible-vault. Read instruction in group_vars/project.ansibled.yml

execute this command. prompt the user for the Vault password

$ ansible-playbook -vvv -i hosts.inventory <xxx.yml> --ask-vault-pass

use clear text file for vault password

$ ansible-playbook -vvv -i hosts.inventory <xxx.yml> --ask-password-file </path/to/password-file>

vpc

vpc.yml

s3

s3.yml

ec2

working now...

See Also https://github.com/tomwwright/ansibled fixed some... https://medium.com/@tomwwright/automating-with-ansible-building-a-vpc-c252944d3d2e

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published