From: Ken Dreyer Date: Thu, 22 Oct 2015 16:35:10 +0000 (-0600) Subject: ansible: use Ubuntu UID for nginx.conf X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b27ccc1dbd4ed85ab52ea9e8eee27fde46e90fec;p=ceph-build.git ansible: use Ubuntu UID for nginx.conf On CentOS, the nginx package from EPEL defaults to using the "nginx" UID. On Ubuntu, the nginx package defaults to using the "www-data" UID. --- diff --git a/ansible/roles/ansible-jenkins/templates/nginx.conf b/ansible/roles/ansible-jenkins/templates/nginx.conf index 1ab526ef..e12693a8 100644 --- a/ansible/roles/ansible-jenkins/templates/nginx.conf +++ b/ansible/roles/ansible-jenkins/templates/nginx.conf @@ -1,5 +1,5 @@ # {{ ansible_managed }} -user nginx; +user www-data; worker_processes {{ nginx_processor_count }}; worker_rlimit_nofile 8192;