OULibraries / ansible-role-centos7

Base CentOS7 role for OULib.
MIT License
0 stars 1 forks source link

Added centos/rhel 7 checks in tasks/main.yml #14

Closed jsnshrmn closed 8 years ago

jsnshrmn commented 8 years ago

Add distro checks before execution.

Motivation and Context

This role should check to make sure it's on a supported distro before doing stuff. Otherwise there is a real potential to blow up targets. https://github.com/OULibraries/ansible-role-centos7/issues/13

How Has This Been Tested?

to do: run against unsupported distros and watch nothing happen run against supported distros and watch previous behavior occur.