+ dhcp dnsmasq server playbook for create inner server network #861m7vaer Шаблон операционной системы на Debian 10
30 lines
780 B
YAML
30 lines
780 B
YAML
---
|
|
|
|
- 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' ]
|