You've already forked ansible-role-auth-duo
Added SELinux policy to Allow DUO Api
This commit is contained in:
BIN
files/selinux/duo.pp
Normal file
BIN
files/selinux/duo.pp
Normal file
Binary file not shown.
@@ -44,3 +44,19 @@
|
|||||||
|
|
||||||
- name: Flush Handlers
|
- name: Flush Handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
|
- name: Duo SELinux Enablement
|
||||||
|
block:
|
||||||
|
- name: Copy SELinux Module
|
||||||
|
copy:
|
||||||
|
src: files/duo.pp
|
||||||
|
dest: /tmp/duo.pp
|
||||||
|
|
||||||
|
- name: Install Policy (Ensure we can access DUO Api)
|
||||||
|
command: /usr/sbin/semodule -i /tmp/duo.pp
|
||||||
|
|
||||||
|
- name: Remove Policy file
|
||||||
|
file:
|
||||||
|
path: /tmp/duo.pp
|
||||||
|
state: absent
|
||||||
|
|
||||||
Reference in New Issue
Block a user