Skip to content

Commit aa840f2

Browse files
committed
add explicit file permission to fix linting errors
1 parent 4bf6648 commit aa840f2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

roles/readme/tasks/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@
1010
file:
1111
path: ~/Desktop
1212
state: directory
13+
mode: 0755
14+
1315
become: yes
1416
become_user: "{{ ansible_env.SUDO_USER }}"
1517

1618
- name: Create the README file on the Desktop
1719
copy:
1820
src: README.md
1921
dest: ~/Desktop/README.md
22+
mode: 0644
2023
become: yes
2124
become_user: "{{ ansible_env.SUDO_USER }}"

0 commit comments

Comments
 (0)