completed course
This commit is contained in:
10
playbooks/selinux-check.yml
Normal file
10
playbooks/selinux-check.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- hosts: all
|
||||
user: ansible
|
||||
become: yes
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Enable SELinux
|
||||
selinux:
|
||||
policy: targeted
|
||||
state: enforcing
|
||||
Reference in New Issue
Block a user