Skip to content

Instantly share code, notes, and snippets.

@tgerla
Created April 16, 2013 18:42
Show Gist options
  • Select an option

  • Save tgerla/5398446 to your computer and use it in GitHub Desktop.

Select an option

Save tgerla/5398446 to your computer and use it in GitHub Desktop.
---
- hosts: all
tasks:
- name: hello
debug: msg="system $inventory_hostname hello world ${ansible_selinux.config_mode}"
when_string: "${ansible_selinux.config_mode} == 'enforcing'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment