TASK [init : add swap] ********************************************************* fatal: [centos7]: FAILED! => {"msg": "The conditional check 'ansible_memtotal_mb < 1024 and not swap_result.stdout' failed. The error was: error while evaluating conditional (ansible_memtotal_mb < 1024 and not swap_result.stdout): 'ansible_memtotal_mb' is undefined\n\nThe error appears to be in '/builds/mycard/init/tasks/main.yml': line 12, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n changed_when: false\n- name: add swap\n ^ here\n"}