mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-03-10 10:12:09 +07:00
Fix trailing whitespaces
This commit is contained in:
@@ -22,7 +22,7 @@ Example
|
|||||||
nginx_vhosts:
|
nginx_vhosts:
|
||||||
# htpasswd on all vhost
|
# htpasswd on all vhost
|
||||||
- name: test.local
|
- name: test.local
|
||||||
htpasswd: 'hello'
|
htpasswd: 'hello'
|
||||||
template: '_base'
|
template: '_base'
|
||||||
|
|
||||||
# htpasswd only in /hello
|
# htpasswd only in /hello
|
||||||
@@ -30,7 +30,7 @@ nginx_vhosts:
|
|||||||
template: '_base'
|
template: '_base'
|
||||||
location:
|
location:
|
||||||
'/hello':
|
'/hello':
|
||||||
- htpasswd: 'hello'
|
- htpasswd: 'hello'
|
||||||
|
|
||||||
nginx_htpasswd:
|
nginx_htpasswd:
|
||||||
- name: 'hello'
|
- name: 'hello'
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ Cert/Key pairs
|
|||||||
|
|
||||||
This list have 3 mandatory keys:
|
This list have 3 mandatory keys:
|
||||||
|
|
||||||
- `name`: MUST be unique
|
- `name`: MUST be unique
|
||||||
|
|
||||||
- `key`: content of the private key
|
- `key`: content of the private key
|
||||||
- `cert`: content of the public key
|
- `cert`: content of the public key
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
---
|
---
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Emilien Mantel
|
author: Emilien Mantel
|
||||||
description: Nginx for Debian
|
description: Nginx for Debian
|
||||||
company:
|
company:
|
||||||
license: GPLv2
|
license: GPLv2
|
||||||
min_ansible_version: 2.0
|
min_ansible_version: 2.0
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
@@ -20,4 +20,4 @@ galaxy_info:
|
|||||||
- http2
|
- http2
|
||||||
- debian
|
- debian
|
||||||
dependencies: []
|
dependencies: []
|
||||||
|
|
||||||
|
|||||||
@@ -16,4 +16,4 @@
|
|||||||
with_subelements:
|
with_subelements:
|
||||||
- "{{ nginx_htpasswd }}"
|
- "{{ nginx_htpasswd }}"
|
||||||
- users
|
- users
|
||||||
when: item.0.state is not defined or item.0.state == 'present'
|
when: item.0.state is not defined or item.0.state == 'present'
|
||||||
|
|||||||
Reference in New Issue
Block a user