Skip to content

Instantly share code, notes, and snippets.

@tacahiroy
Created November 11, 2019 03:09
Show Gist options
  • Save tacahiroy/6d3a9e9f038671f5efc7a3d2ebad8931 to your computer and use it in GitHub Desktop.
Save tacahiroy/6d3a9e9f038671f5efc7a3d2ebad8931 to your computer and use it in GitHub Desktop.
Proceed an Ansible task when the target is EL 8 (RHEL or CentOS)
when: ansible_os_family == "RedHat" and ansible_distribution_major_version == "8"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment