Fix swapfile permissions
Forgot to add "become: yes"
This commit is contained in:
@@ -355,6 +355,7 @@
|
||||
file:
|
||||
state: absent
|
||||
path: "{{ swap_file_path }}"
|
||||
become: yes
|
||||
- name: Create swap file
|
||||
command: truncate -s 0 "{{ swap_file_path }}"
|
||||
creates="{{ swap_file_path }}"
|
||||
|
||||
Reference in New Issue
Block a user