You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
780 B

  1. ---
  2. - name: Manage master nginx proxy
  3. collections: [ 'debops.debops', 'debops.roles01',
  4. 'debops.roles02', 'debops.roles03' ]
  5. hosts: [ 'debian10' ]
  6. become: True
  7. environment: '{{ inventory__environment | d({})
  8. | combine(inventory__group_environment | d({}))
  9. | combine(inventory__host_environment | d({})) }}'
  10. vars:
  11. nginx_acme: True
  12. nginx_real_ip_from: ['172.16.30.0/24']
  13. nginx_default_keepalive_timeout: 65
  14. nginx_ocsp: False
  15. nginx_worker_processes: auto
  16. pre_tasks:
  17. - name: Copy Nginx Master Proxy config examples
  18. copy:
  19. src: etc/nginx-master-proxy/conf.d
  20. dest: /etc/nginx/
  21. mode: 0644
  22. roles:
  23. - role: nginx
  24. tags: [ 'role::nginx', 'skip::nginx' ]