Update roles (remove inactive and update for-ansible-lint)
This commit is contained in:
parent
39fd6ef5a2
commit
400b342ec4
5 changed files with 15 additions and 44 deletions
|
|
@ -9,22 +9,29 @@
|
||||||
- authentik
|
- authentik
|
||||||
- backup
|
- backup
|
||||||
- caddy
|
- caddy
|
||||||
|
- deploy
|
||||||
- dmarc_report
|
- dmarc_report
|
||||||
- dokku
|
- dokku
|
||||||
- extra_services
|
- extra_services
|
||||||
|
- factorio
|
||||||
- forgejo
|
- forgejo
|
||||||
- forgejo_runner
|
- forgejo_runner
|
||||||
- gatus
|
- gatus
|
||||||
- healthcheck
|
- healthcheck
|
||||||
- homebox
|
- homebox
|
||||||
- immich
|
- immich
|
||||||
|
- immich_worker
|
||||||
- influxdb
|
- influxdb
|
||||||
- jellyfin
|
- jellyfin
|
||||||
|
- jitsi
|
||||||
- lego
|
- lego
|
||||||
- lgtm_stack
|
- lgtm_stack
|
||||||
|
- loki
|
||||||
- mailcowdockerized
|
- mailcowdockerized
|
||||||
- minecraft_2
|
- minecraft_2
|
||||||
|
- minecraft_3
|
||||||
- minio
|
- minio
|
||||||
|
- node_exporter
|
||||||
- ntfy
|
- ntfy
|
||||||
- postgresql
|
- postgresql
|
||||||
- reitanlage_oranienburg
|
- reitanlage_oranienburg
|
||||||
|
|
@ -37,5 +44,6 @@
|
||||||
- umami
|
- umami
|
||||||
- vikunja
|
- vikunja
|
||||||
- watchtower
|
- watchtower
|
||||||
|
- webdis
|
||||||
- wiki_js
|
- wiki_js
|
||||||
- woodpecker
|
- woodpecker
|
||||||
|
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
---
|
|
||||||
briefing_svc:
|
|
||||||
domain: "{{ all_services | service_get_domain(role_name) }}"
|
|
||||||
port: 8080
|
|
||||||
|
|
||||||
briefing_env:
|
|
||||||
BRIEFING_ROOM_URL: "https://{{ briefing_svc.domain }}/"
|
|
||||||
BRIEFING_ROOM_PATH: "/"
|
|
||||||
BRIEFING_ROOM_DOMAIN: "{{ briefing_svc.domain }}"
|
|
||||||
|
|
||||||
BRIEFING_STUN_URL: "stun:turn01.brie.fi:5349"
|
|
||||||
BRIEFING_TURN_URL: "turn:turn01.brie.fi:5349"
|
|
||||||
|
|
||||||
BRIEFING_MUTE_VIDEO: 0
|
|
||||||
BRIEFING_MUTE_AUDIO: 1
|
|
||||||
BRIEFING_SHOW_FULLSCREEN: 1
|
|
||||||
BRIEFING_SHOW_INVITATION: 1
|
|
||||||
BRIEFING_SHOW_INVITATION_HINT: 1
|
|
||||||
BRIEFING_SHOW_SETTINGS: 1
|
|
||||||
BRIEFING_SHOW_SHARE: 1
|
|
||||||
BRIEFING_SHOW_CHAT: 0
|
|
||||||
|
|
||||||
briefing_compose:
|
|
||||||
watchtower: update
|
|
||||||
image: holtwick/briefing
|
|
||||||
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
- name: Set common facts
|
|
||||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
|
||||||
|
|
||||||
- name: Deploy {{ role_name }}
|
|
||||||
vars:
|
|
||||||
svc: "{{ briefing_svc }}"
|
|
||||||
env: "{{ briefing_env }}"
|
|
||||||
compose: "{{ briefing_compose }}"
|
|
||||||
block:
|
|
||||||
- name: Import tasks to deploy common service
|
|
||||||
ansible.builtin.import_tasks: tasks/deploy-common-service.yml
|
|
||||||
|
|
@ -12,24 +12,24 @@
|
||||||
|
|
||||||
- name: Set webhook config path
|
- name: Set webhook config path
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
config_path: "{{ (service_path, 'config') | path_join }}"
|
deploy_config_path: "{{ (service_path, 'config') | path_join }}"
|
||||||
|
|
||||||
- name: Create config directory
|
- name: Create config directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ config_path }}"
|
path: "{{ deploy_config_path }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
- name: Create main config
|
- name: Create main config
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: "{{ (config_path, 'hooks.yml') | path_join }}"
|
dest: "{{ (deploy_config_path, 'hooks.yml') | path_join }}"
|
||||||
content: '{{ deploy_yml | to_nice_yaml }}'
|
content: '{{ deploy_yml | to_nice_yaml }}'
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
|
||||||
- name: Copy the deploy-reitanlage_oranienburg script
|
- name: Copy the deploy-reitanlage_oranienburg script
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: deploy-reitanlage_oranienburg
|
src: deploy-reitanlage_oranienburg
|
||||||
dest: "{{ (config_path, 'deploy-reitanlage_oranienburg') | path_join }}"
|
dest: "{{ (deploy_config_path, 'deploy-reitanlage_oranienburg') | path_join }}"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
- name: Import start tasks for common service
|
- name: Import start tasks for common service
|
||||||
|
|
|
||||||
|
|
@ -13,10 +13,10 @@
|
||||||
|
|
||||||
- name: Set config path
|
- name: Set config path
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
config_path: "{{ (service_path, 'config') | path_join }}"
|
factorio_config_path: "{{ (service_path, 'config') | path_join }}"
|
||||||
- name: Create config directory
|
- name: Create config directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ config_path }}"
|
path: "{{ factorio_config_path }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
owner: "{{ factorio_uid }}"
|
owner: "{{ factorio_uid }}"
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
become: true
|
become: true
|
||||||
- name: Create the server settings
|
- name: Create the server settings
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: "{{ (config_path, 'server-settings.json') | path_join }}"
|
dest: "{{ (factorio_config_path, 'server-settings.json') | path_join }}"
|
||||||
content: '{{ factorio_json | to_json }}'
|
content: '{{ factorio_json | to_json }}'
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
owner: "{{ factorio_uid }}"
|
owner: "{{ factorio_uid }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue