Files
EX407-Ansible-Automation/playbooks/selinux-check.yml
Ilgar Naghiyev 6f04a7ff10 completed course
2020-03-28 17:34:20 +01:00

10 lines
166 B
YAML

---
- hosts: all
user: ansible
become: yes
gather_facts: no
tasks:
- name: Enable SELinux
selinux:
policy: targeted
state: enforcing