Selaa lähdekoodia

Whitespace fixes and follow-up for PR #54.

Jeff Geerling 9 vuotta sitten
vanhempi
commit
cbbcc8db16
3 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  1. 2 2
      README.md
  2. 1 1
      tasks/setup-FreeBSD.yml
  3. 1 1
      vars/FreeBSD.yml

+ 2 - 2
README.md

@@ -2,9 +2,9 @@
 
 [![Build Status](https://travis-ci.org/geerlingguy/ansible-role-nginx.svg?branch=master)](https://travis-ci.org/geerlingguy/ansible-role-nginx)
 
-Installs Nginx on RedHat/CentOS or Debian/Ubuntu linux servers.
+Installs Nginx on RedHat/CentOS or Debian/Ubuntu Linux, or FreeBSD servers.
 
-This role installs and configures the latest version of Nginx from the Nginx yum repository (on RedHat-based systems) or via apt (on Debian-based systems). You will likely need to do extra setup work after this role has installed Nginx, like adding your own [virtualhost].conf file inside `/etc/nginx/conf.d/`, describing the location and options to use for your particular website.
+This role installs and configures the latest version of Nginx from the Nginx yum repository (on RedHat-based systems) or via apt (on Debian-based systems) or pkgng (on FreeBSD systems). You will likely need to do extra setup work after this role has installed Nginx, like adding your own [virtualhost].conf file inside `/etc/nginx/conf.d/`, describing the location and options to use for your particular website.
 
 ## Requirements
 

+ 1 - 1
tasks/setup-FreeBSD.yml

@@ -10,4 +10,4 @@
 - name: Create logs directory.
   file:
     path: /var/log/nginx
-    state: directory
+    state: directory

+ 1 - 1
vars/FreeBSD.yml

@@ -6,4 +6,4 @@ nginx_mime_file_path: /usr/local/etc/nginx/mime.types
 nginx_pidfile: /var/run/nginx.pid
 nginx_vhost_path: /usr/local/etc/nginx/sites-enabled
 nginx_default_vhost_path: /usr/local/etc/nginx/sites-enabled/default
-__nginx_user: "www"
+__nginx_user: "www"