I have been through the docs and here and everything that I seem to try results in this error.
fatal: [passiontoprofitforpractitioners.com]: FAILED! => {"changed": false, "cmd": ["./renew-certs.py"], "delta": "0:00:00.894350", "end": "2018-02-22 19:14:11.621072", "failed": true, "rc": 1, "start": "2018-02-22 19:14:10.726722", "stderr": "", "stdout": "Generating certificate for passiontoprofitforpractitioners.com\nError while generating certificate for passiontoprofitforpractitioners.com\nTraceback (most recent call last):\n File \"/usr/local/letsencrypt/acme_tiny.py\", line 198, in <module>\n main(sys.argv[1:])\n File \"/usr/local/letsencrypt/acme_tiny.py\", line 194, in main\n signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca)\n File \"/usr/local/letsencrypt/acme_tiny.py\", line 92, in get_crt\n raise ValueError(\"Error registering: {0} {1}\".format(code, result))\nValueError: Error registering: 400 {\n \"type\": \"urn:acme:error:malformed\",\n \"detail\": \"Provided agreement URL [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf] does not match current agreement URL [https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf]\",\n \"status\": 400\n}", "stdout_lines": ["Generating certificate for passiontoprofitforpractitioners.com", "Error while generating certificate for passiontoprofitforpractitioners.com", "Traceback (most recent call last):", " File \"/usr/local/letsencrypt/acme_tiny.py\", line 198, in <module>", " main(sys.argv[1:])", " File \"/usr/local/letsencrypt/acme_tiny.py\", line 194, in main", " signed_crt = get_crt(args.account_key, args.csr, args.acme_dir, log=LOGGER, CA=args.ca)", " File \"/usr/local/letsencrypt/acme_tiny.py\", line 92, in get_crt", " raise ValueError(\"Error registering: {0} {1}\".format(code, result))", "ValueError: Error registering: 400 {", " \"type\": \"urn:acme:error:malformed\",", " \"detail\": \"Provided agreement URL [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf] does not match current agreement URL [https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf]\",", " \"status\": 400", "}"], "warnings": []}
I made sure that in the hosts file I have the domain and have tries the ip and I get the same error. I have pinged the site and both non www and www point to the same place.
Can anyone tell me what I might be doing wrong here. Thank you