🚨 host: radon: Fix fqcn linter warnings

fqcn[action-core]: Use FQCN for builtin module actions (file).
    host-radon.yml:40 Use `ansible.builtin.file` or `ansible.legacy.file` instead.

    fqcn[action-core]: Use FQCN for builtin module actions (template).
    host-radon.yml:52 Use `ansible.builtin.template` or `ansible.legacy.template` instead.

    fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
    host-radon.yml:61 Action `docker_container` is not FQCN.

    fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
    host-radon.yml:91 Action `docker_container` is not FQCN.

    fqcn[action-core]: Use FQCN for builtin module actions (include_role).
    host-radon.yml:111 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.

    fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
    host-radon.yml:132 Action `docker_container` is not FQCN.

    fqcn[action-core]: Use FQCN for builtin module actions (include_role).
    host-radon.yml:153 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.

    fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
    host-radon.yml:162 Action `docker_container` is not FQCN.

    fqcn[action-core]: Use FQCN for builtin module actions (include_role).
    host-radon.yml:180 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.

    fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
    host-radon.yml:188 Action `docker_container` is not FQCN.

    fqcn[action-core]: Use FQCN for builtin module actions (include_role).
    host-radon.yml:204 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead.

    fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
    host-radon.yml:213 Action `docker_container` is not FQCN.

    fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`.
    host-radon.yml:230 Action `docker_container` is not FQCN.
This commit is contained in:
Alexander Dahl 2025-03-09 18:45:30 +01:00
parent 95706d0ad4
commit 9eedf004a5

View file

@ -38,7 +38,7 @@
tasks:
- name: Ensure the mosquitto directories exist
file:
ansible.builtin.file:
path: "{{ item }}"
mode: 0755
state: directory
@ -50,7 +50,7 @@
- mosquitto
- name: Make sure mosquitto config is there
template:
ansible.builtin.template:
src: "templates/mosquitto.conf.j2"
dest: "{{ mosquitto_data }}/config/mosquitto.conf"
mode: 0644
@ -59,7 +59,7 @@
- mosquitto
- name: Ensure mosquitto is running
docker_container:
community.docker.docker_container:
name: mosquitto
image: "{{ mosquitto_image }}"
pull: true
@ -89,7 +89,7 @@
when: not nodered_dir.stat.exists
- name: Ensure nodered is running
docker_container:
community.docker.docker_container:
name: nodered
image: "{{ nodered_image }}"
pull: true
@ -109,7 +109,7 @@
restart_policy: unless-stopped
- name: Setup proxy site nodered.n39.eu
include_role:
ansible.builtin.include_role:
name: setup_http_site_proxy
vars:
site_name: "nodered.n39.eu"
@ -130,7 +130,7 @@
- rabbitmq
- name: Ensure rabbitmq docker container is running
docker_container:
community.docker.docker_container:
name: rabbitmq
image: "{{ rabbitmq_image }}"
ports:
@ -151,7 +151,7 @@
- rabbitmq
- name: Setup proxy site rabbitmq.n39.eu
include_role:
ansible.builtin.include_role:
name: setup_http_site_proxy
vars:
site_name: "rabbitmq.n39.eu"
@ -160,7 +160,7 @@
- rabbitmq
- name: Ensure Power Meter Pulse Gateway for 19i room is running
docker_container:
community.docker.docker_container:
name: pwr-meter-pulse-gw-19i
image: "{{ pwr_meter_pulse_gw_image }}"
ports:
@ -178,7 +178,7 @@
restart_policy: unless-stopped
- name: Setup proxy site pwr-meter-pulse-gw-19i.svc.n39.eu
include_role:
ansible.builtin.include_role:
name: setup_http_site_proxy
vars:
site_name: "pwr-meter-pulse-gw-19i.svc.n39.eu"
@ -186,7 +186,7 @@
- name: Setup docker container for BrotherQL Web UI printer
docker_container:
community.docker.docker_container:
name: brotherql-web
image: dersimn/brother_ql_web:2.1.9-alpine
pull: true
@ -202,7 +202,7 @@
- labelprinter
- name: Setup proxy site labelprinter.n39.eu
include_role:
ansible.builtin.include_role:
name: setup_http_site_proxy
vars:
site_name: labelprinter.n39.eu
@ -211,7 +211,7 @@
- labelprinter
- name: Setup docker container for Grafana Screenshots
docker_container:
community.docker.docker_container:
name: grafana-screenshot
image: mrtux/grafana-screenshot:0.1.3
pull: true
@ -228,7 +228,7 @@
handlers:
- name: Restart mosquitto container
docker_container:
community.docker.docker_container:
name: mosquitto
state: started
restart: yes