ansible -m ping all
ssh -vvv -i ~/aws/aws_keys/default_ec2.cer [email protected]
ansible all -a "whoami" (inside "" could be any other command e.g. "python --version, uname, pwd, etc.")
ansible dev -a "whoami" - 'dev' is a group name from hosts file
ansible qa1 -a "whoami" - 'qa1' is a specific server from hosts file
ansible-playbook playbooks/playbook-file-name.yaml
Create python venv, install boto3, export aws access key/secret access key
ansible-inventory --list