Skip to content

Commit c589765

Browse files
committed
Prefer symbolic specification of file permissions
1 parent d924e27 commit c589765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create/playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
- name: Set home directory permissions
1717
ansible.builtin.file:
18-
mode: 0750
18+
mode: u=rwx,g=rx,o=
1919
path: /home/{{ username }}
2020

2121
- name: Add ssh public key as authorized key for user

0 commit comments

Comments
 (0)