Skip to content

Instantly share code, notes, and snippets.

@apolloclark
Last active March 24, 2019 23:57
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 apolloclark/f01e8bb91f44ed568073155a1f6ea56d to your computer and use it in GitHub Desktop.
Save apolloclark/f01e8bb91f44ed568073155a1f6ea56d to your computer and use it in GitHub Desktop.
pre_tasks:
  - name: debug
    debug:
      msg: "{{ ansible_distribution }}-{{ ansible_distribution_release }}-{{ ansible_distribution_major_version }}-{{ ansible_distribution_version }}.yml"


{{ ansible_distribution }}
{{ ansible_distribution_release }}
{{ ansible_distribution_major_version }}
{{ ansible_distribution_version }}


Ubuntu
xenial
16
16.04

CentOS
Core
7
7.6.1810

CentOS
Final
6
6.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment