Skip to content

Instantly share code, notes, and snippets.

@marzdgzmn
Created May 6, 2019 08:20
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 marzdgzmn/f6023021950eb874143ed3c219cbdeb6 to your computer and use it in GitHub Desktop.
Save marzdgzmn/f6023021950eb874143ed3c219cbdeb6 to your computer and use it in GitHub Desktop.
- name: Set python interpreter to python 3 in Ubuntu
vars:
ansible_python_interpreter: '/usr/bin/python3'
when: (ansible_distribution == "Ubuntu" and ansible_distribution_major_version >= "14")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment