+ latest extensions - deployed nginx, apache, php 74 & 81, nvm, automatic databases import and phpmyadmin with nginx basic auth
+ dhcp dnsmasq server playbook for create inner server network #861m7vaer Шаблон операционной системы на Debian 10
This commit is contained in:
29
playbooks/debops/nginx-master-proxy.yml
Normal file
29
playbooks/debops/nginx-master-proxy.yml
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
|
||||
- name: Manage master nginx proxy
|
||||
collections: [ 'debops.debops', 'debops.roles01',
|
||||
'debops.roles02', 'debops.roles03' ]
|
||||
hosts: [ 'debian10' ]
|
||||
become: True
|
||||
|
||||
environment: '{{ inventory__environment | d({})
|
||||
| combine(inventory__group_environment | d({}))
|
||||
| combine(inventory__host_environment | d({})) }}'
|
||||
|
||||
vars:
|
||||
nginx_acme: True
|
||||
nginx_real_ip_from: ['172.16.30.0/24']
|
||||
nginx_default_keepalive_timeout: 65
|
||||
nginx_ocsp: False
|
||||
nginx_worker_processes: auto
|
||||
|
||||
pre_tasks:
|
||||
- name: Copy Nginx Master Proxy config examples
|
||||
copy:
|
||||
src: etc/nginx-master-proxy/conf.d
|
||||
dest: /etc/nginx/
|
||||
mode: 0644
|
||||
|
||||
roles:
|
||||
- role: nginx
|
||||
tags: [ 'role::nginx', 'skip::nginx' ]
|
||||
Reference in New Issue
Block a user