mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-25 06:31:27 +00:00
ansible lint fixes
This commit is contained in:
parent
3b05337466
commit
42abf5df58
@ -175,6 +175,7 @@
|
|||||||
dest: "/etc/audit/rules.d/collection.rules"
|
dest: "/etc/audit/rules.d/collection.rules"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
|
mode: '600'
|
||||||
backup: true
|
backup: true
|
||||||
notify:
|
notify:
|
||||||
- regenerate_auditd_rules
|
- regenerate_auditd_rules
|
||||||
@ -222,6 +223,11 @@
|
|||||||
state: present
|
state: present
|
||||||
regexp: ^umask
|
regexp: ^umask
|
||||||
line: "umask 027"
|
line: "umask 027"
|
||||||
|
create: yes
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: '0644'
|
||||||
|
when: ansible_distribution_major_version == '7'
|
||||||
tags:
|
tags:
|
||||||
- harden
|
- harden
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user