https://ansible.pythonprogramminghelp.com/3-rules-for-reliability-function/