premanently disable swap
resolves issue-252
changed_when: true
tags: install
+- name: Permanently Disable SWAP in fstab
+ replace:
+ path: /etc/fstab
+ regexp: '^([^#].*?\sswap\s+sw\s+.*)$'
+ replace: '# \1'
+
- name: Disable selinux
selinux:
state: disabled
