fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
host-wittgenstein.yml:132 Action `docker_container` is not FQCN.
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
host-wittgenstein.yml:151 Action `docker_container` is not FQCN.
fqcn[action-core]: Use FQCN for builtin module actions (service).
roles/apache_letsencrypt/handlers/main.yml:3 Use `ansible.builtin.service` or `ansible.legacy.service` instead.
fqcn[action-core]: Use FQCN for builtin module actions (apt).
roles/dd24_dyndns_cron/tasks/main.yml:2 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead.
fqcn[action-core]: Use FQCN for builtin module actions (apt).
roles/desec_dyndns_cron/tasks/main.yml:2 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead.
fqcn[action-core]: Use FQCN for builtin module actions (command).
roles/nfs_host/handlers/main.yml:2 Use `ansible.builtin.command` or `ansible.legacy.command` instead.
fqcn[action-core]: Use FQCN for builtin module actions (service).
roles/apache/handlers/main.yml:3 Use `ansible.builtin.service` or `ansible.legacy.service` instead.
fqcn[action-core]: Use FQCN for builtin module actions (apt).
roles/apache/tasks/main.yml:2 Use `ansible.builtin.apt` or `ansible.legacy.apt` instead.
fqcn[action]: Use FQCN for module actions, such `community.general.apache2_module`.
roles/apache/tasks/main.yml:8 Action `apache2_module` is not FQCN.
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
roles/cleanuri/tasks/main.yml:3 Action `docker_container` is not FQCN.
fqcn[action-core]: Use FQCN for builtin module actions (include_role).
roles/cleanuri/tasks/main.yml:17 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
roles/cleanuri/tasks/main.yml:25 Action `docker_container` is not FQCN.
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
roles/cleanuri/tasks/main.yml:44 Action `docker_container` is not FQCN.
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
roles/cleanuri/tasks/main.yml:61 Action `docker_container` is not FQCN.
fqcn[action-core]: Use FQCN for builtin module actions (include_role).
roles/cleanuri/tasks/main.yml:78 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.
fqcn[action-core]: Use FQCN for builtin module actions (service).
roles/nginx_https_ingress/handlers/main.yml:3 Use `ansible.builtin.service` or `ansible.legacy.service` instead.
fqcn[action-core]: Use FQCN for builtin module actions (apt_key).
roles/nginx_https_ingress/tasks/main.yml:20 Use `ansible.builtin.apt_key` or `ansible.legacy.apt_key` instead.
fqcn[action-core]: Use FQCN for builtin module actions (service).
roles/setup_http_site_forward/handlers/main.yml:2 Use `ansible.builtin.service` or `ansible.legacy.service` instead.
fqcn[action-core]: Use FQCN for builtin module actions (template).
roles/setup_http_site_forward/tasks/main.yml:2 Use `ansible.builtin.template` or `ansible.legacy.template` instead.
fqcn[action-core]: Use FQCN for builtin module actions (command).
roles/setup_http_site_forward/tasks/main.yml:8 Use `ansible.builtin.command` or `ansible.legacy.command` instead.
fqcn[action-core]: Use FQCN for builtin module actions (service).
roles/setup_http_site_proxy/handlers/main.yml:2 Use `ansible.builtin.service` or `ansible.legacy.service` instead.
fqcn[action-core]: Use FQCN for builtin module actions (template).
roles/setup_http_site_proxy/tasks/main.yml:2 Use `ansible.builtin.template` or `ansible.legacy.template` instead.
fqcn[action-core]: Use FQCN for builtin module actions (command).
roles/setup_http_site_proxy/tasks/main.yml:9 Use `ansible.builtin.command` or `ansible.legacy.command` instead.
fqcn[action-core]: Use FQCN for builtin module actions (shell).
roles/users/handlers/main.yml:2 Use `ansible.builtin.shell` or `ansible.legacy.shell` instead.
fqcn[action-core]: Use FQCN for builtin module actions (package).
roles/users/tasks/main.yml:2 Use `ansible.builtin.package` or `ansible.legacy.package` instead.
fqcn[action-core]: Use FQCN for builtin module actions (lineinfile).
roles/users/tasks/main.yml:8 Use `ansible.builtin.lineinfile` or `ansible.legacy.lineinfile` instead.
fqcn[action-core]: Use FQCN for builtin module actions (user).
roles/users/tasks/main.yml:16 Use `ansible.builtin.user` or `ansible.legacy.user` instead.
fqcn[action]: Use FQCN for module actions, such `ansible.posix.authorized_key`.
roles/users/tasks/main.yml:24 Action `authorized_key` is not FQCN.
fqcn[action-core]: Use FQCN for builtin module actions (user).
roles/users/tasks/main.yml:34 Use `ansible.builtin.user` or `ansible.legacy.user` instead.
fqcn[action-core]: Use FQCN for builtin module actions (stat).
roles/users/tasks/main.yml:42 Use `ansible.builtin.stat` or `ansible.legacy.stat` instead.
fqcn[action-core]: Use FQCN for builtin module actions (lineinfile).
roles/users/tasks/main.yml:47 Use `ansible.builtin.lineinfile` or `ansible.legacy.lineinfile` instead.
This warning:
name[template]: Jinja templates should only be at the end of 'name'
setup-ssh.yml:6 Task/Handler: Ensure {{ lookup('env', 'HOME') }}/.ssh/config.d/ dir is present
Reason for that warning is thin. Using the actual home dir here adds
not much value, so keep it symbolic.
Link: https://ansible.readthedocs.io/projects/lint/rules/name/
ansible-lint reads like this:
name[casing]: All names should start with an uppercase letter.
While at it: Some task/handler names were slightly adapted to better
match what should be done.
Roles names should be lowercase with underscores only.
ansible-lint complained:
% ansible-lint -t role-name
WARNING Listing 1 violation(s) that are fatal
role-name: Role name setup-http-site-forward does not match ``^[a-z][a-z0-9_]*$`` pattern.
roles/setup-http-site-forward:1
Read documentation for instructions on how to ignore specific rule violations.
Rule Violation Summary
count tag profile rule associated tags
1 role-name basic deprecations, metadata
Failed after min profile: 1 failure(s), 0 warning(s) on 135 files.
Fixes: 85c09ea2ae ("Add role for apache forward site")
Roles names are expected to be lower case with underscores only,
see ansible-lint warning:
% ansible-lint -t role-name
WARNING Listing 1 violation(s) that are fatal
role-name: Role name nfs-host does not match ``^[a-z][a-z0-9_]*$`` pattern.
roles/nfs-host:1
Read documentation for instructions on how to ignore specific rule violations.
Rule Violation Summary
count tag profile rule associated tags
1 role-name basic deprecations, metadata
Failed after min profile: 1 failure(s), 0 warning(s) on 135 files.
Fixes: 2138870520 ("nfs server wird nicht im k3s laufen, labeling entfernt")
curl only logs its own errors to stderr with the given options (--silent
--show-error). Requests answered by the remote webserver, regardless of
HTTP status code, go to stdout. So in case of an unsuccesful update
with some error condition we could not see that before. Redirect those
to debug log, because it's still quite noisy otherwise.
This adds 288 log messages per day and service to the debug log,
accounting to max. 30k per day and service, and thus should not hurt.
desec log output is only the word "good" in case of success.
dd24 full output would be this, and is thus reduced to the relevant
lines merged in one line:
[RESPONSE]
code = 200
description = Command completed successfully
runtime = 0.067
queuetime = 0
EOF
Sample journald entry:
Feb 27 12:48:15 pottwal dd24[519651]: code = 200,description = Command completed successfully
The cron jobs were executed, but dash (/bin/sh) complained, and so the
actual command was never run. This is why our dyndns update did not
work through cron, but when executed manually in bash by an admin.
Example for such a fail when done manually in sh:
# echo test3 > >(/usr/bin/logger -p user.debug -t dd24)
/bin/sh: 7: Syntax error: redirection unexpected
Process substitution with `>(command)` is a feature supported by bash
and other shells, but not by POSIX shell which was supposed to used here
(set by `SHELL=…`). Instead of building complicated redirect magic for
sh just switch to bash, which should be available on the hosts affected.
Link: https://www.shellcheck.net/wiki/SC3001
Fixes: 03dbd132eb ("🔊 Send DD24 cron errors to syslog")
Fixes: 38fbff30b5 ("feat: add role to manage dyndns entry on desec.io")