try this
This commit is contained in:
parent
e50dcc563d
commit
992b889d02
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@
|
|||
|
||||
- name: Mount swap
|
||||
command: "swapon {{ swap_file_path }}"
|
||||
when: ansible_swaptotal_mb < 1
|
||||
when: ansible_facts['ansible_swaptotal_mb'] < 1
|
||||
tags:
|
||||
- swap.file.swapon
|
||||
- swap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue