Use true instead of yes.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
regexp: '^[\#]?{{ swap_file }}'
|
||||
line: '{{ swap_file }} none swap sw 0 0'
|
||||
state: present
|
||||
backup: yes
|
||||
backup: true
|
||||
when: ansible_distribution != "NixOS"
|
||||
|
||||
# Only run through this file if the ini has been changed from false.
|
||||
|
||||
Reference in New Issue
Block a user