mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 10:19:09 +00:00 
			
		
		
		
	- Renamed role `srv-tls-core` → `sys-svc-certs` - Renamed role `srv-https-stack` → `sys-stk-front-pure` - Renamed role `sys-stk-front` → `sys-stk-front-proxy` - Updated all includes, READMEs, meta, and dependent roles accordingly This improves clarity and consistency of naming conventions for certificate management and proxy orchestration. See: https://chatgpt.com/share/68b19f2c-22b0-800f-ba9b-3f2c8fd427b0
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| 
 | |
| - name: "include role sys-stk-front-proxy for {{ application_id }}"
 | |
|   include_role:
 | |
|     name: sys-stk-front-proxy
 | |
|   vars:
 | |
|     domain:   "{{ domains | get_domain(application_id) }}"
 | |
|     http_port:   "{{ ports.localhost.http[application_id] }}"
 | |
| 
 | |
| - name: create elasticsearch-sysctl.conf
 | |
|   copy:
 | |
|     src: "elasticsearch-sysctl.conf"
 | |
|     dest: /etc/sysctl.d/elasticsearch-sysctl.conf
 | |
|     owner: root
 | |
|     group: root
 | |
| 
 | |
| - name: set vm.max_map_count=262144
 | |
|   command:
 | |
|     cmd: sysctl -w vm.max_map_count=262144
 | |
| 
 | |
| - name: "create {{docker_elk_compose_path}}"
 | |
|   file:
 | |
|     path: "{{docker_elk_compose_path}}"
 | |
|     state: directory
 | |
|     mode: "0755"
 | |
| 
 | |
| - name: git pull web-app-elk
 | |
|   git:
 | |
|     repo: "https://github.com/kevinveenbirkenbach/web-app-elk.git"
 | |
|     dest: "{{docker_elk_compose_path}}"
 | |
|     update: yes
 | |
|   notify: recreate web-app-elk
 | |
|   ignore_errors: true
 | |
| 
 | |
| - name: copy docker-compose.yml
 | |
|   template: src=docker-compose.yml.j2 dest={{docker_elk_compose_path}}docker-compose.yml
 | |
|   notify: recreate web-app-elk
 | |
| 
 | |
| - name: copy elasticsearch.yml
 | |
|   template: src=elasticsearch.yml.j2 dest={{docker_elk_compose_path}}elasticsearch/config/elasticsearch.yml
 | |
|   notify: recreate web-app-elk
 | |
| 
 | |
| - name: copy kibana.yml
 | |
|   template: src=kibana.yml.j2 dest={{docker_elk_compose_path}}kibana/config/kibana.yml
 | |
|   notify: recreate web-app-elk
 | |
| 
 | |
| - name: copy logstash.yml
 | |
|   template: src=logstash.yml.j2 dest={{docker_elk_compose_path}}logstash/config/logstash.yml
 | |
|   notify: recreate web-app-elk
 | |
| 
 | |
| - name: copy logstash.conf
 | |
|   template: src=logstash.conf.j2 dest={{docker_elk_compose_path}}logstash/pipeline/logstash.conf
 | |
|   notify: recreate web-app-elk
 |