Skip to content

Commit

Permalink
Added setting of seuser and selevel for completeness
Browse files Browse the repository at this point in the history
See Issue linux-system-roles#106 "RFE: Support for setting seuser in selinux_fcontexts"
linux-system-roles#106
  • Loading branch information
Benjamin Blasco committed May 4, 2022
1 parent 7bd2e19 commit ae4e99b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
setype: "{{ item.setype }}"
ftype: "{{ item.ftype | default('a') }}"
state: "{{ item.state | default('present') }}"
# FIXME: selevel, seuser
selevel: "{{ item.selevel | default(omit) }}"
seuser: "{{ item.seuser | default(omit) }}"
with_items: "{{ selinux_fcontexts }}"

- name: Restore SELinux labels on filesystem tree
Expand Down

0 comments on commit ae4e99b

Please sign in to comment.