Skip to content

Instantly share code, notes, and snippets.

@hackcoderr
Last active January 1, 2021 17:37
Show Gist options
  • Save hackcoderr/4e22d4df6278a3c5f973bf3e34c2162c to your computer and use it in GitHub Desktop.
Save hackcoderr/4e22d4df6278a3c5f973bf3e34c2162c to your computer and use it in GitHub Desktop.
file for Ansible configuration
[defaults]
inventory=/home/ec2-user/hosts
host_key_checking = False
private_key_file=/home/ec2-user/key.pem
ask_pass=false
roles_path= /home/ec2-user/aws
[privilege_escalation]
become=true
become_method=sudo
become_user=root
become_ask_pass=false
deprecation_warnings=False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment