Skip to content

Commit 50c2942

Browse files
authored
Merge pull request #50 from fliespl/patch-1
do not try to set permissions when in check_mode
2 parents 97614ed + be5cf97 commit 50c2942

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tasks/enable.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
owner: root
1212
group: root
1313
mode: 0600
14+
when: not ansible_check_mode
1415

1516
- name: Make swap file if necessary.
1617
command: mkswap {{ swap_file_path }}

0 commit comments

Comments
 (0)