fqcn[action]: Use FQCN for module actions, such `community.docker.docker_network`.
host-tau.yml:28 Action `docker_network` is not FQCN.
fqcn[action-core]: Use FQCN for builtin module actions (include_role).
host-tau.yml:37 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.
fqcn[action-core]: Use FQCN for builtin module actions (include_role).
host-tau.yml:54 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
host-tau.yml:61 Action `docker_container` is not FQCN.
fqcn[action-core]: Use FQCN for builtin module actions (include_role).
host-tau.yml:78 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.
fqcn[action-core]: Use FQCN for builtin module actions (file).
host-tau.yml:94 Use `ansible.builtin.file` or `ansible.legacy.file` instead.
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
host-tau.yml:101 Action `docker_container` is not FQCN.
fqcn[action-core]: Use FQCN for builtin module actions (include_role).
host-tau.yml:120 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
host-tau.yml:149 Action `docker_container` is not FQCN.
fqcn[action-core]: Use FQCN for builtin module actions (include_role).
host-tau.yml:168 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
host-tau.yml:178 Action `docker_container` is not FQCN.
fqcn[action-core]: Use FQCN for builtin module actions (include_role).
host-tau.yml:193 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.
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")
We used a similar local role here, in the Freifunk Magdeburg project,
and in personal playbooks. That was moved to an external project,
unified, and reworked, so the external role can act as replacement for
the distributed, redundant copies.
Link: https://github.com/netz39/ansible-role-host-docker
Removes the redundant words "ansible" and "role" from the role name
originating from the Git repo name, and uses the author's name as
namespace instead. This makes it easier to recognize as external role.
Note: the host-wittgenstein recipe already used that new name, but we
did not set it up in requirements, yet. (How did that ever work?)
Link: https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#installing-multiple-roles-from-a-file
Fixes: f4db6fa395 ("Add Ansible setup for wittgenstein")
The previous .n39.eu domain is meant to be used within the space only.
Change to the external domain, as the registry is running on our external
server.
To install docker on a host you have to put it into that group in
inventory now, instead of adding the role to each host playbook. Idea
is to extend the group docker_host playbook by more docker related
things as for example metrics and monitoring.
There seem to be compatibility issues with container updates within the
same tag. These updates happen every time we run Ansible and are usually
desired, as they can fix security issues (esp. in the base image).
However, if the update cannot be trusted to run without manual intervention,
we have to pin the version and check for updates manually.
Docker does not take the tzdata from host systems, so the
timezone needs to be set individually.
Otherwise dates without explicit timezone information or Z will
be generated or interpreted in the wrong timezone
(such as dokuwiki signatures)