mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Removed dependencies and used include_roles to raise performance and make infinito to a racing car
This commit is contained in:
@@ -21,4 +21,3 @@ galaxy_info:
|
||||
versions: [ all ]
|
||||
dependencies:
|
||||
- docker-core
|
||||
|
||||
|
@@ -26,10 +26,3 @@ galaxy_info:
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/infinito-nexus/docker"
|
||||
|
||||
dependencies:
|
||||
- sys-bkp-docker-2-loc
|
||||
- user-administrator
|
||||
- sys-hlth-docker-container
|
||||
- sys-hlth-docker-volumes
|
||||
- sys-rpr-docker-soft
|
||||
- sys-rpr-docker-hard
|
||||
|
@@ -1,6 +1,19 @@
|
||||
- name: Include backup, repair, health and user dependencies
|
||||
include_role:
|
||||
name: "{{ item }}"
|
||||
loop:
|
||||
- sys-bkp-docker-2-loc
|
||||
- user-administrator
|
||||
- sys-hlth-docker-container
|
||||
- sys-hlth-docker-volumes
|
||||
- sys-rpr-docker-soft
|
||||
- sys-rpr-docker-hard
|
||||
|
||||
- name: docker & docker compose install
|
||||
community.general.pacman:
|
||||
name: ['docker','docker-compose']
|
||||
name:
|
||||
- 'docker'
|
||||
- 'docker-compose'
|
||||
state: present
|
||||
notify: docker restart
|
||||
|
||||
|
@@ -18,7 +18,4 @@ galaxy_info:
|
||||
- performance
|
||||
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/infinito-nexus/roles/srv-web-7-4-core"
|
||||
dependencies:
|
||||
- sys-hlth-webserver
|
||||
- sys-hlth-csp
|
||||
documentation: "https://github.com/kevinveenbirkenbach/infinito-nexus/roles/srv-web-7-4-core"
|
@@ -1,3 +1,10 @@
|
||||
- name: Include health dependencies
|
||||
include_role:
|
||||
name: "{{ item }}"
|
||||
loop:
|
||||
- sys-hlth-webserver
|
||||
- sys-hlth-csp
|
||||
|
||||
- name: Include openresty
|
||||
# Outside of run_once block is necessary for handler loading
|
||||
# Otherwise the when: condition from the block is added to the handlers
|
||||
|
@@ -22,8 +22,7 @@ galaxy_info:
|
||||
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
|
||||
documentation: "https://docs.infinito.nexus"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
|
||||
|
||||
dependencies:
|
||||
- srv-web-7-4-core
|
||||
- sys-cln-domains
|
||||
- srv-web-7-7-letsencrypt
|
||||
- srv-web-7-7-letsencrypt
|
||||
|
@@ -38,14 +38,14 @@
|
||||
matomo: "{{ applications | get_app_conf(application_id, 'features.matomo', False) }}"
|
||||
port_ui: "{{ applications | get_app_conf(application_id, 'features.port-ui-desktop', False) }}"
|
||||
|
||||
- name: "Activate Global CSS for {{domain}}"
|
||||
- name: "Activate Corporate CSS for {{domain}}"
|
||||
include_role:
|
||||
name: srv-web-7-7-inj-css
|
||||
when:
|
||||
- inj_enabled.css
|
||||
- run_once_srv_web_7_7_inj_css is not defined
|
||||
|
||||
- name: "Activate Global Matomo Tracking for {{domain}}"
|
||||
- name: "Activate Matomo Tracking for {{domain}}"
|
||||
include_role:
|
||||
name: srv-web-7-7-inj-matomo
|
||||
when: inj_enabled.matomo
|
||||
|
@@ -1,14 +1,14 @@
|
||||
- name: create sshd_config
|
||||
template:
|
||||
src: "sshd_config.j2"
|
||||
dest: /etc/ssh/sshd_config
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify: sshd restart
|
||||
when: run_once_sys_svc_sshd is not defined
|
||||
- block:
|
||||
- name: create sshd_config
|
||||
template:
|
||||
src: "sshd_config.j2"
|
||||
dest: /etc/ssh/sshd_config
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify: sshd restart
|
||||
|
||||
- name: run the sshd tasks once
|
||||
set_fact:
|
||||
run_once_sys_svc_sshd: true
|
||||
- name: run the sshd tasks once
|
||||
set_fact:
|
||||
run_once_sys_svc_sshd: true
|
||||
when: run_once_sys_svc_sshd is not defined
|
||||
|
Reference in New Issue
Block a user