Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrchrisadams/f75f18e0985ea808b4c4 to your computer and use it in GitHub Desktop.
Save mrchrisadams/f75f18e0985ea808b4c4 to your computer and use it in GitHub Desktop.
How do I avoid long lines like this in an ansible inventory, for inventory specific values?
# Generated by Vagrant
# loooong line
main ansible_ssh_host=127.0.0.1 ansible_ssh_port=2222 ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.vagrant.d/insecure_private_key host_key_checking=False
[dev]
main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment