Skip to content

Instantly share code, notes, and snippets.

Created May 11, 2016 15:48
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 anonymous/9e356eac3141b9ec30de6f8e5b96faae to your computer and use it in GitHub Desktop.
Save anonymous/9e356eac3141b9ec30de6f8e5b96faae to your computer and use it in GitHub Desktop.
distro = {{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}
distro_vars:
ubuntu-14.04:
repo: https://some.repo.com
packages:
- package1
- package2
repo = distro_vars[distro].repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment