Closed francisco-core closed 4 years ago
The caddy-website role over in https://github.com/PrivacyLx/devops is not reloading upon being notified.
Do you see an error message or anything that shows caddy service not being reloaded upon modification?
Some guesses:
I tried find out what's wrong but I cannot get to run the website role. In case it's useful to you I get the following error:
TASK [caddy-website : Build hugo-0.54.0 docker image] **************************************************************************************************************************************************************
fatal: [privacylx.org]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (docker_image) module: build, source Supported parameters include: api_version, archive_path, buildargs, cacert_path, cert_path, container_limits, debug, docker_host, dockerfile, force, http_timeout, key_path, load_path, name, nocache, path, pull, push, repository, rm, ssl_version, state, tag, timeout, tls, tls_hostname, tls_verify, use_tls"}
We should aim to have working roles on master branch, while testing and WIP roles and projects should be better on a different branch or repository.
Feel free to send a pull request and ping me to review it.
I tried find out what's wrong but I cannot get to run the website role. In case it's useful to you I get the following error:
TASK [caddy-website : Build hugo-0.54.0 docker image] ************************************************************************************************************************************************************** fatal: [privacylx.org]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (docker_image) module: build, source Supported parameters include: api_version, archive_path, buildargs, cacert_path, cert_path, container_limits, debug, docker_host, dockerfile, force, http_timeout, key_path, load_path, name, nocache, path, pull, push, repository, rm, ssl_version, state, tag, timeout, tls, tls_hostname, tls_verify, use_tls"}
That has to do with an outdated ansible version. According to the docs, to use the build
parameter for the ansible module we need at least ansible version 2.8
This part of the code where notify could act is commented out.
I totally missed that. I think that might be what's missing.Thanks
The
caddy-website
role over in https://github.com/PrivacyLx/devops is not reloading upon being notified. It has to be manually reloaded from the terminal withsystemctl restart caddy
.Investigate what that is not working