2018-01-10 23:40:01 +01:00
|
|
|
---
|
2018-01-26 20:00:26 +01:00
|
|
|
- name: "(Install: FreeBSD) Add NGINX Plus Repository"
|
2018-03-02 01:15:27 +01:00
|
|
|
blockinfile:
|
|
|
|
path: /etc/pkg/nginx-plus.conf
|
|
|
|
create: yes
|
|
|
|
block: |
|
|
|
|
nginx-plus: {
|
|
|
|
URL: pkg+https://plus-pkgs.nginx.com/freebsd/${ABI}/latest
|
|
|
|
ENABLED: yes
|
|
|
|
MIRROR_TYPE: SRV
|
|
|
|
}
|
2018-01-10 23:40:01 +01:00
|
|
|
|
2018-01-26 20:00:26 +01:00
|
|
|
- name: "(Install: FreeBSD) Verify NGINX Plus License"
|
2018-01-10 23:40:01 +01:00
|
|
|
blockinfile:
|
|
|
|
path: /usr/local/etc/pkg.conf
|
|
|
|
block: |
|
|
|
|
PKG_ENV: { SSL_NO_VERIFY_PEER: "1",
|
|
|
|
SSL_CLIENT_CERT_FILE: "/etc/ssl/nginx/nginx-repo.crt",
|
|
|
|
SSL_CLIENT_KEY_FILE: "/etc/ssl/nginx/nginx-repo.key" }
|