Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
Revert "Change user, as which nginx is running (#209)" (#210)
Browse files Browse the repository at this point in the history
This reverts commit b90cc28.
  • Loading branch information
mblomdahl authored and jdauphant committed Mar 17, 2018
1 parent b90cc28 commit 73afb81
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ nginx_service_name: "{{nginx_binary_name}}"
nginx_conf_dir: /etc/nginx # For this variable, a specific value for the OS can be apply in vars/{{ ansible_os_family }}.yml
nginx_default_site_template: "site.conf.j2"

nginx_user: "{{nginx_default_user}}"
nginx_user: nginx # For this variable, a specific value for the OS can be apply in vars/{{ ansible_os_family }}.
nginx_group: "{{nginx_user}}"

nginx_pid_file: '/var/run/{{nginx_service_name}}.pid'
Expand Down
2 changes: 1 addition & 1 deletion vars/Debian.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
nginx_default_user: www-data
nginx_user: www-data
2 changes: 1 addition & 1 deletion vars/FreeBSD.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
nginx_conf_dir: /usr/local/etc/nginx
nginx_default_user: www
nginx_user: www
nginx_sites_default_root: /usr/local/www/nginx-dist
nginx_conf_group: wheel
2 changes: 1 addition & 1 deletion vars/Solaris.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
nginx_conf_dir: /opt/local/etc/nginx
nginx_default_user: www
nginx_user: www
nginx_sites_default_root: /opt/local/www
1 change: 0 additions & 1 deletion vars/empty.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
---
# This file intentionally does not define any variables.
nginx_defaut_user: nginx

0 comments on commit 73afb81

Please sign in to comment.