mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Restructured service und web role naming in inventor
This commit is contained in:
1
tasks/groups/.gitignore
vendored
Normal file
1
tasks/groups/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*-roles.yml
|
@@ -69,7 +69,7 @@
|
||||
- name: setup nextcloud-client
|
||||
when: ("nextcloud_client" in group_names)
|
||||
include_role:
|
||||
name: desk-nextcloud
|
||||
name: desk-nextcloud-client
|
||||
|
||||
- name: setup docker
|
||||
when: ("docker_client" in group_names)
|
||||
|
@@ -12,29 +12,14 @@
|
||||
- maint-btrfs-auto-balancer
|
||||
|
||||
- name: "Integrate Docker Role includes"
|
||||
include_tasks: "./tasks/utils/server-roles.yml"
|
||||
|
||||
# Native Webserver Roles
|
||||
- name: setup web-svc-htmls
|
||||
include_role:
|
||||
name: web-svc-html
|
||||
vars:
|
||||
domain: "{{primary_domain}}"
|
||||
when: ('web-svc-htmls' | application_allowed(group_names, allowed_applications))
|
||||
include_tasks: "./tasks/groups/{{ item }}-roles.yml"
|
||||
loop:
|
||||
- svc
|
||||
- web
|
||||
loop_control:
|
||||
label: "{{ item }}-roles.yml"
|
||||
|
||||
- name: "setup corporate identity"
|
||||
include_role:
|
||||
name: util-srv-corporate-identity
|
||||
when: ('corporate_identity' | application_allowed(group_names, allowed_applications))
|
||||
|
||||
- name: setup redirect hosts
|
||||
when: ('redirect' | application_allowed(group_names, allowed_applications))
|
||||
include_role:
|
||||
name: web-redirect-domains
|
||||
vars:
|
||||
domain_mappings: "{{ current_play_domain_mappings_redirect}}"
|
||||
|
||||
- name: setup www redirect
|
||||
when: ('www_redirect' | application_allowed(group_names, allowed_applications))
|
||||
include_role:
|
||||
name: web-redirect-www
|
||||
when: ('corporate_identity' | application_allowed(group_names, allowed_applications))
|
1
tasks/utils/.gitignore
vendored
1
tasks/utils/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
server-roles.yml
|
Reference in New Issue
Block a user