bertvv / ansible-role-mariadb

Install MariaDB on RHEL/CentOS 7 or Fedora.
https://galaxy.ansible.com/bertvv/mariadb/
Other
144 stars 108 forks source link

Configure swappiness fails on some hosts #13

Closed twhiston closed 6 years ago

twhiston commented 6 years ago

I have seen a problem with some hosts where the task to configure swappiness will fail due to permissions in the vm. FAILED! => {"changed": false, "msg": "Failed to reload sysctl: net.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.default.disable_ipv6 = 1\nsysctl: permission denied on key 'vm.swappiness'\n"} Would you be willing to add a way to bypass this step?