GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(role/config_nginx_docker): OS-specific variables · getstackhead/stackhead@4c77067

This repository was archived by the owner on Feb 26, 2024. It is now read-only.

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • roles/config_nginx_docker
    • tasks
      • main.yml
    • vars
      • FreeBSD.yml
      • OpenBSD.yml
      • main.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎roles/config_nginx_docker/tasks/main.yml‎

Copy file name to clipboardExpand all lines: roles/config_nginx_docker/tasks/main.yml
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
- name: Include OS-specific variables.
3+
include_vars: "{{ ansible_os_family }}.yml"
4+
ignore_errors: yes
25
- name: Add managed vhost config files.
36
template:
47
src: "{{ nginx_vhost_template }}"
Collapse file

‎roles/config_nginx_docker/vars/FreeBSD.yml‎

Copy file name to clipboard
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
root_group: wheel
3+
nginx_vhost_path: /usr/local/etc/nginx/sites-enabled
Collapse file

‎roles/config_nginx_docker/vars/OpenBSD.yml‎

Copy file name to clipboard
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
root_group: wheel
Collapse file

‎roles/config_nginx_docker/vars/main.yml‎

Copy file name to clipboard
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2-
root_group: root # see nginx role - depends on operating system! todo: operating system related variables for mackerel
2+
# OS-specific variables see other yml files in this directory
3+
root_group: root
34
nginx_vhost_path: /etc/nginx/sites-enabled
45
nginx_vhost_template: "{{ playbook_dir }}/templates/nginx-reverse-proxy-vhost.config.j2"

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.