So you’ve decided to do some infrastructure automation as part of your DevOps workflow huh? And after reading lots of Ansible versus Puppet, Chef, Saltstack etc posts, you’ve settled on Ansible. But where to start? What tips will help you get on, faster? Here are my top five things you can do to help yourself…
- View the quickstart video. It’s 20 minutes well spent.
- Read the best practices. No, really, read them properly!
- Every time you’re unsure about how to do something, look at the modules list first (ansible-doc -l in a terminal is actually easier than browsing the web page).
- When the poop hits the fan, –verbose is your first step (-vvv then -vvvv for more information).
- When that doesn’t help, get really deep with ANSIBLE_KEEP_REMOTE_FILES and Python.