-
Notifications
You must be signed in to change notification settings - Fork 353
/
converge.yml
30 lines (30 loc) · 1023 Bytes
/
converge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
- name: Converge
hosts: all
tasks:
- name: Install NGINX and NGINX Agent
ansible.builtin.include_role:
name: ansible-role-nginx
vars:
nginx_agent_enable: true
nginx_agent_configure: true
nginx_agent_server:
host: agent.connect.nginx.com
port: 443
data_plane_key: "{{ lookup('env', 'AGENT_DATA_PLANE_KEY') }}"
nginx_agent_tls:
enable: true
skip_verify: false
nginx_agent_nginx:
exclude_logs: '""'
socket: '"unix:/var/run/nginx-agent/nginx.sock"'
treat_warnings_as_errors: false
nginx_agent_config_dirs: '"/etc/nginx:/usr/local/etc/nginx:/usr/share/nginx/modules"'
nginx_agent_queue_size: 100
nginx_agent_extensions: ['metrics']
nginx_agent_api:
host: 127.0.0.1
port: 8081
nginx_agent_configure_dynamic: true
nginx_agent_instance_group: ansible_instance_group
nginx_agent_tags: ['ansible', 'dev']