Commit graph

15 commits

Author SHA1 Message Date
e61a68de53 🚨 host: wittgenstein: Fix fqcn linter warnings
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.
2025-03-09 19:00:21 +01:00
de7d285ee4 Merge pull request 'Fix linter warnings of type 'name'' () from alex/netz39-infra-ansible:lint into master
Reviewed-on: 
Reviewed-by: Stefan Haun <tux@netz39.de>
2025-03-05 18:13:58 +01:00
fca9c9ea3b Add wittgenstein to docker group 2025-03-05 12:26:17 +01:00
bc43af38d9 🚨 Add names to plays to fix name[play] linter warnings
Adds basic descriptions on what those host are supposed to do.
2025-03-02 09:22:05 +01:00
cc41217ad8 🔧 Enable automatic docker image prune again
The feature was part of the old role but unconditionally.  When porting
to external role we made it optional with variable
`docker_cron_image_prune` but default to false.  Restore the previous
behaviour in this playbook.
2025-02-23 19:18:21 +01:00
b22c86758e 🚚 Migrate docker_host role to external project
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
2025-02-23 19:18:21 +01:00
a0021c4979 🚨 Add more spaces before comment
Fixes the following ansible-lint warnings:

    yaml[comments]: Too few spaces before comment
    host-unicorn.yml:31

    yaml[comments]: Too few spaces before comment
    host-wittgenstein.yml:143
2025-02-19 22:01:13 +01:00
fa7e94403f 🚨 Remove extra spaces
Fixes the following ansible-lint warning:

    yaml[colons]: Too many spaces after colon
    host-wittgenstein.yml:149
2025-02-19 21:52:39 +01:00
49dd796a05 🚨 Modernize ansible-lint silence markup
Fixes the following warning when running `ansible-lint`:

    WARNING  Replaced outdated tag '503' with 'no-handler', replace it to avoid future regressions

Link: https://ansible.readthedocs.io/projects/lint/rules/no-handler/
2025-02-19 21:40:23 +01:00
832094843a 🚚 roles: dehydrated: Use namespaced role name
In "ansible-role-dehydrated" the words "ansible" and "role" are
redundant, because implicit anyway.  What actually helps here is using a
namespaced name in the format galaxy would use, to make clear it's an
external role, and where it comes from.

Link: https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#installing-multiple-roles-from-a-file
2024-12-28 12:07:20 +01:00
7fdfe89ed8 Setup docker container Ampel Controller 2024-11-02 23:01:13 +01:00
5f4e63c1de Set the wittgenstein MAC address 2024-11-02 23:01:13 +01:00
04c6a6d586 Set up the SpaceAPI service docker container 2024-11-02 23:01:13 +01:00
136c2c8985 Add paho-mqtt library to install dependencies 2024-11-02 23:01:13 +01:00
f4db6fa395 Add Ansible setup for wittgenstein 2024-11-02 23:01:13 +01:00