summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2018-02-22 12:32:46 +0100
committerJonathan Bauer2018-02-22 12:32:46 +0100
commitd9b5d5e790ad5ffb4ec60cfc21d78d1f154c3b58 (patch)
tree6000f5866d8daadaee4a78dd6b79804412ce9a77
parent[dracut-initrfs] add 'disable-selinux' dep for dracut-initramfs-builder (diff)
downloadansible-dracut-d9b5d5e790ad5ffb4ec60cfc21d78d1f154c3b58.tar.gz
ansible-dracut-d9b5d5e790ad5ffb4ec60cfc21d78d1f154c3b58.tar.xz
ansible-dracut-d9b5d5e790ad5ffb4ec60cfc21d78d1f154c3b58.zip
[dracut-initramfs-builder] only disable SELinux on RedHat derivates
-rw-r--r--dracut-initramfs-builder/meta/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut-initramfs-builder/meta/main.yml b/dracut-initramfs-builder/meta/main.yml
index f989102..bfd43d5 100644
--- a/dracut-initramfs-builder/meta/main.yml
+++ b/dracut-initramfs-builder/meta/main.yml
@@ -1,4 +1,4 @@
---
dependencies:
- { role: setup-dev-tools }
- - { role: disable-selinux }
+ - { role: disable-selinux, when: ansible_os_family == 'RedHat' }