🚨 host: pottwal: Fix fqcn linter warnings
fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:57 Action `docker_container` is not FQCN. fqcn[action-core]: Use FQCN for builtin module actions (include_role). host-pottwal.yml:83 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:91 Action `docker_container` is not FQCN. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_network`. host-pottwal.yml:104 Action `docker_network` is not FQCN. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:120 Action `docker_container` is not FQCN. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:140 Action `docker_container` is not FQCN. fqcn[action-core]: Use FQCN for builtin module actions (include_role). host-pottwal.yml:169 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:237 Action `docker_container` is not FQCN. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:259 Action `docker_container` is not FQCN. fqcn[action-core]: Use FQCN for builtin module actions (include_role). host-pottwal.yml:278 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. fqcn[action-core]: Use FQCN for builtin module actions (file). host-pottwal.yml:301 Use `ansible.builtin.file` or `ansible.legacy.file` instead. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_network`. host-pottwal.yml:314 Action `docker_network` is not FQCN. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:322 Action `docker_container` is not FQCN. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:342 Action `docker_container` is not FQCN. fqcn[action-core]: Use FQCN for builtin module actions (include_role). host-pottwal.yml:374 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. fqcn[action-core]: Use FQCN for builtin module actions (file). host-pottwal.yml:383 Use `ansible.builtin.file` or `ansible.legacy.file` instead. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:393 Action `docker_container` is not FQCN. fqcn[action-core]: Use FQCN for builtin module actions (include_role). host-pottwal.yml:413 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_network`. host-pottwal.yml:438 Action `docker_network` is not FQCN. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:446 Action `docker_container` is not FQCN. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:466 Action `docker_container` is not FQCN. fqcn[action-core]: Use FQCN for builtin module actions (include_role). host-pottwal.yml:492 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. fqcn[action-core]: Use FQCN for builtin module actions (file). host-pottwal.yml:501 Use `ansible.builtin.file` or `ansible.legacy.file` instead. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:511 Action `docker_container` is not FQCN. fqcn[action-core]: Use FQCN for builtin module actions (include_role). host-pottwal.yml:528 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. fqcn[action-core]: Use FQCN for builtin module actions (file). host-pottwal.yml:537 Use `ansible.builtin.file` or `ansible.legacy.file` instead. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:554 Action `docker_container` is not FQCN. fqcn[action-core]: Use FQCN for builtin module actions (include_role). host-pottwal.yml:575 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. fqcn[action-core]: Use FQCN for builtin module actions (file). host-pottwal.yml:585 Use `ansible.builtin.file` or `ansible.legacy.file` instead. fqcn[action]: Use FQCN for module actions, such `community.docker.docker_container`. host-pottwal.yml:599 Action `docker_container` is not FQCN. fqcn[action-core]: Use FQCN for builtin module actions (include_role). host-pottwal.yml:619 Use `ansible.builtin.include_role` or `ansible.legacy.include_role` instead. fqcn[action-core]: Use FQCN for builtin module actions (template). host-pottwal.yml:629 Use `ansible.builtin.template` or `ansible.legacy.template` instead. fqcn[action-core]: Use FQCN for builtin module actions (service). host-pottwal.yml:657 Use `ansible.builtin.service` or `ansible.legacy.service` instead.
This commit is contained in:
parent
9eedf004a5
commit
d145039dbe
1 changed files with 34 additions and 34 deletions
|
@ -55,7 +55,7 @@
|
|||
# If port 2222 is changed here, it must also be adapted
|
||||
# in the forgejo config file (see application volume)!!
|
||||
- name: Setup the docker container for forgejo
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: forgejo
|
||||
image: "{{ forgejo_image }}"
|
||||
pull: true
|
||||
|
@ -81,7 +81,7 @@
|
|||
tags: ["forgejo"]
|
||||
|
||||
- name: Setup proxy site "{{ forgejo_domain_name }}"
|
||||
include_role:
|
||||
ansible.builtin.include_role:
|
||||
name: setup_http_site_proxy
|
||||
vars:
|
||||
site_name: "{{ forgejo_domain_name }}"
|
||||
|
@ -89,7 +89,7 @@
|
|||
tags: ["forgejo"]
|
||||
|
||||
- name: Ensure apt-cacher container is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: apt_cacher_ng
|
||||
image: mrtux/apt-cacher-ng:latest
|
||||
pull: true
|
||||
|
@ -102,7 +102,7 @@
|
|||
TZ: "{{ timezone }}"
|
||||
|
||||
- name: Setup docker network
|
||||
docker_network:
|
||||
community.docker.docker_network:
|
||||
name: shlinknet
|
||||
state: present
|
||||
internal: true
|
||||
|
@ -118,7 +118,7 @@
|
|||
- shlink
|
||||
|
||||
- name: Ensure shlink database container is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: shlinkdb
|
||||
image: postgres:16.8-alpine
|
||||
pull: true
|
||||
|
@ -138,7 +138,7 @@
|
|||
- shlink
|
||||
|
||||
- name: Ensure container for shlink is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: shlink
|
||||
image: "{{ shlink_image }}"
|
||||
pull: true
|
||||
|
@ -167,7 +167,7 @@
|
|||
- shlink
|
||||
|
||||
- name: Setup proxy site {{ shlink_domain_name }}
|
||||
include_role:
|
||||
ansible.builtin.include_role:
|
||||
name: setup_http_site_proxy
|
||||
vars:
|
||||
site_name: "{{ shlink_domain_name }}"
|
||||
|
@ -235,7 +235,7 @@
|
|||
- Restart prosody
|
||||
|
||||
- name: Ensure container for prosody XMPP server is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: prosody
|
||||
image: "{{ prosody_image }}"
|
||||
pull: true
|
||||
|
@ -257,7 +257,7 @@
|
|||
|
||||
|
||||
- name: Ensure container for static XMPP website is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: jabber-static-website
|
||||
image: "{{ prosody_web_image }}"
|
||||
pull: true
|
||||
|
@ -277,7 +277,7 @@
|
|||
|
||||
- name: Setup proxy site {{ prosody_domain_name }}
|
||||
# point to static website for now
|
||||
include_role:
|
||||
ansible.builtin.include_role:
|
||||
name: setup_http_site_proxy
|
||||
vars:
|
||||
site_name: "{{ prosody_domain_name }}"
|
||||
|
@ -299,7 +299,7 @@
|
|||
- hedgedoc
|
||||
|
||||
- name: Ensure the hedgedoc directories exist
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
path: "{{ item.path }}"
|
||||
mode: "{{ item.mode }}"
|
||||
state: directory
|
||||
|
@ -312,7 +312,7 @@
|
|||
- hedgedoc
|
||||
|
||||
- name: Setup docker network
|
||||
docker_network:
|
||||
community.docker.docker_network:
|
||||
name: hedgedocnet
|
||||
state: present
|
||||
internal: true
|
||||
|
@ -320,7 +320,7 @@
|
|||
- hedgedoc
|
||||
|
||||
- name: Install HedgeDoc database container
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: hedgedocdb
|
||||
image: "{{ hedgedoc_db_image }}"
|
||||
pull: true
|
||||
|
@ -340,7 +340,7 @@
|
|||
- hedgedoc
|
||||
|
||||
- name: Ensure container for hedgedoc is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: hedgedoc
|
||||
image: "{{ hedgedoc_image }}"
|
||||
pull: true
|
||||
|
@ -372,7 +372,7 @@
|
|||
- hedgedoc
|
||||
|
||||
- name: Setup proxy site "{{ hedgedoc_domain_name }}"
|
||||
include_role:
|
||||
ansible.builtin.include_role:
|
||||
name: setup_http_site_proxy
|
||||
vars:
|
||||
site_name: "{{ hedgedoc_domain_name }}"
|
||||
|
@ -381,7 +381,7 @@
|
|||
- hedgedoc
|
||||
|
||||
- name: Ensure the influxdb directories exist
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
mode: 0700
|
||||
state: directory
|
||||
|
@ -391,7 +391,7 @@
|
|||
- "{{ data_dir }}/influxdb/cfg"
|
||||
|
||||
- name: Ensure container for influxdb is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: influxdb
|
||||
image: "{{ influxdb_image }}"
|
||||
pull: true
|
||||
|
@ -411,7 +411,7 @@
|
|||
- "{{ data_dir }}/influxdb/cfg:/etc/influxdb2"
|
||||
|
||||
- name: Setup proxy site {{ influxdb_domain_name }}
|
||||
include_role:
|
||||
ansible.builtin.include_role:
|
||||
name: setup_http_site_proxy
|
||||
vars:
|
||||
site_name: "{{ influxdb_domain_name }}"
|
||||
|
@ -436,7 +436,7 @@
|
|||
- redmine
|
||||
|
||||
- name: Setup Redmine docker network
|
||||
docker_network:
|
||||
community.docker.docker_network:
|
||||
name: redminenet
|
||||
state: present
|
||||
internal: true
|
||||
|
@ -444,7 +444,7 @@
|
|||
- redmine
|
||||
|
||||
- name: Setup Redmine MySQL container
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: redminedb
|
||||
image: "{{ redmine_mysql_image }}"
|
||||
pull: true
|
||||
|
@ -464,7 +464,7 @@
|
|||
- redmine
|
||||
|
||||
- name: Setup Redmine container
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: redmine
|
||||
image: "{{ redmine_image }}"
|
||||
pull: true
|
||||
|
@ -490,7 +490,7 @@
|
|||
- redmine
|
||||
|
||||
- name: Setup proxy site "{{ redmine_domain_name }}"
|
||||
include_role:
|
||||
ansible.builtin.include_role:
|
||||
name: setup_http_site_proxy
|
||||
vars:
|
||||
site_name: "{{ redmine_domain_name }}"
|
||||
|
@ -499,7 +499,7 @@
|
|||
- redmine
|
||||
|
||||
- name: Ensure the uptime-kuma directories exist
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
mode: "0755"
|
||||
state: directory
|
||||
|
@ -509,7 +509,7 @@
|
|||
- uptimekuma
|
||||
|
||||
- name: Ensure container for uptime-kuma is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: uptime-kuma
|
||||
image: "{{ uptimekuma_image }}"
|
||||
pull: true
|
||||
|
@ -526,7 +526,7 @@
|
|||
- uptimekuma
|
||||
|
||||
- name: Setup proxy site "{{ uptimekuma_domain_name }}"
|
||||
include_role:
|
||||
ansible.builtin.include_role:
|
||||
name: setup_http_site_proxy
|
||||
vars:
|
||||
site_name: "{{ uptimekuma_domain_name }}"
|
||||
|
@ -535,7 +535,7 @@
|
|||
- uptimekuma
|
||||
|
||||
- name: Ensure the grafana directories exist
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
path: "{{ item.path }}"
|
||||
owner: "{{ item.owner | default('root') }}"
|
||||
mode: "{{ item.mode }}"
|
||||
|
@ -552,7 +552,7 @@
|
|||
- grafana
|
||||
|
||||
- name: Ensure container for grafana is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: grafana
|
||||
image: "{{ grafana_image }}"
|
||||
pull: true
|
||||
|
@ -573,7 +573,7 @@
|
|||
- grafana
|
||||
|
||||
- name: Setup proxy site "{{ grafana_domain_name }}"
|
||||
include_role:
|
||||
ansible.builtin.include_role:
|
||||
name: setup_http_site_proxy
|
||||
vars:
|
||||
site_name: "{{ grafana_domain_name }}"
|
||||
|
@ -583,7 +583,7 @@
|
|||
- grafana
|
||||
|
||||
- name: Ensure the homebox directories exist
|
||||
file:
|
||||
ansible.builtin.file:
|
||||
path: "{{ item.path }}"
|
||||
owner: "{{ item.owner | default('root') }}"
|
||||
mode: "{{ item.mode }}"
|
||||
|
@ -597,7 +597,7 @@
|
|||
- homebox
|
||||
|
||||
- name: Ensure container for homebox is running
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: homebox
|
||||
image: "{{ homebox_image }}"
|
||||
pull: true
|
||||
|
@ -617,7 +617,7 @@
|
|||
- homebox
|
||||
|
||||
- name: Setup proxy site {{ homebox_domain_name }}
|
||||
include_role:
|
||||
ansible.builtin.include_role:
|
||||
name: setup_http_site_proxy
|
||||
vars:
|
||||
site_name: "{{ homebox_domain_name }}"
|
||||
|
@ -627,7 +627,7 @@
|
|||
- homebox
|
||||
|
||||
- name: Setup proxy site spaceapi.n39.eu
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: templates/pottwal/spaceapi-apache-site.j2
|
||||
dest: /etc/apache2/sites-available/spaceapi.n39.eu.conf
|
||||
mode: "0644"
|
||||
|
@ -655,7 +655,7 @@
|
|||
restart: yes
|
||||
|
||||
- name: Restart apache2
|
||||
service:
|
||||
ansible.builtin.service:
|
||||
name: apache2
|
||||
state: restarted
|
||||
|
||||
|
@ -663,6 +663,6 @@
|
|||
ansible.builtin.shell:
|
||||
cmd: service cron reload
|
||||
# Use the shell call because the task sometimes has problems finding the service state
|
||||
# service:
|
||||
# ansible.builtin.service:
|
||||
# name: cron
|
||||
# state: restarted
|
||||
|
|
Loading…
Add table
Reference in a new issue