migrate ansible server python scripts to python3