Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@
copy:
dest: /etc/security/namespace.d/tmp.conf
src: tmp.conf

- name: Set boolean for SELinux system
seboolean:
name: polyinstantiation_enabled
state: yes
persistent: yes
when: ansible_selinux is not False
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"when: ansible_selinux" would suffice I guess.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess so. At first I tried "when: ansible_selinux is defined", but it seems to be defined to false even on platform without selinux (and to "a structure" when ansible_selinux is set). I think I did see a discussion also on changing that, so I should maybe dig more this part.