summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nginx/defaults/main.yml
blob: 8bf44197d186d413f1acf307e7ec6c34f9730a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
simulated_hosts:
  git:
  http:
  nexus:
all_simulated_hosts:
  "{{ simulated_hosts.git + simulated_hosts.http + simulated_hosts.nexus }}"

nginx:
  ports:
    - "80:80"
    - "443:443"
    - "10001:443"
  volumes:
    - "{{ app_data_path }}/cfg/nginx.conf:/etc/nginx/nginx.conf:ro"
    - "{{ app_data_path }}/certs:/etc/nginx/certs:ro"
    - "{{ app_data_path }}/git-repo:/srv/git:rw"
    - "{{ app_data_path }}/http:/srv/http:rw"
    - "{{ app_data_path }}/pkg/rhel:/srv/http/repo.infra-server/rhel:rw"
    - "{{ app_data_path }}/pkg/ubuntu/xenial:/srv/http/repo.infra-server/ubuntu/xenial:rw"
    - /var/log/nginx:/var/log/nginx:rw
# Default rule for tarball naming translation
nginx_server_image_tar: "{{ nginx_server_image | regex_replace('(\\/|\\:)', '_') }}.tar"