Skip to content

Instantly share code, notes, and snippets.

@mhammonds
Created May 27, 2014 16:50
Show Gist options
  • Save mhammonds/5eee62a104aa6bd56b51 to your computer and use it in GitHub Desktop.
Save mhammonds/5eee62a104aa6bd56b51 to your computer and use it in GitHub Desktop.
Ansible: SELinux Check
- name: Check if SELinux is running
command: getenforce
register: sestatus
changed_when: false
tags: selinux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment