Skip to content

Instantly share code, notes, and snippets.

@anubhavsinha
Created October 15, 2015 12:16
Show Gist options
  • Select an option

  • Save anubhavsinha/e28a9ba35585aa6e19cc to your computer and use it in GitHub Desktop.

Select an option

Save anubhavsinha/e28a9ba35585aa6e19cc to your computer and use it in GitHub Desktop.
Running the ansible command on servers with common user and .pem file
ansible all -m ping -i inventory_file --user=ec2-user --private-key=../k8s.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment