Skip to content

Commit 247d648

Browse files
committed
* Fixed warnings regarding file permissions
1 parent 8d7d4c2 commit 247d648

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tasks/copy_usr_etc_pam_sshd.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
register: etc_pam_sshd
77

88
- block:
9-
109
- name: Check /usr/etc/pam.d/sshd
1110
stat:
1211
path: /usr/etc/pam.d/sshd
@@ -16,6 +15,9 @@
1615
copy:
1716
src: /usr/etc/pam.d/sshd
1817
dest: /etc/pam.d/sshd
18+
owner: root
19+
group: root
20+
mode: '0644'
1921
remote_src: true
2022
when: usr_etc_pam_sshd.stat.exists == true
2123

0 commit comments

Comments
 (0)