HauptJ.openresty
OpenResty
Konfiguruje i instaluje OpenResty NGINX
Wymagania
- Ansible 2.3+
- CentOS 7.4+
- Ubuntu 16.04+ [Tylko instalacja ze źródła]
Instalacja
- Forkuj to repozytorium
- git submodule add
roles/ansible-role-openresty
Ansible Galaxy: HauptJ.openresty
Zmienne
Openresty
| Nazwa | Domyślna wartość | Opis |
|---|---|---|
| resty_install_from_source | true | Instalacja ze źródła [prawda] lub z repozytorium [fałsz] |
| resty_compile_threads | 2 | Liczba wątków używanych do konfiguracji i kompilacji |
| resty_default_server | true | Ustawienie domyślnego serwera webowego i strony powitalnej |
| resty_default_web_dir | /usr/local/openresty/nginx/html/default | Domyślny katalog webowy |
| resty_sites_dir | /usr/local/openresty/nginx/sites | Katalog stron / vhost |
| resty_web_user | nginx | Użytkownik i grupa serwisu sieciowego OpenResty |
| resty_conf_dir | /usr/local/openresty/nginx/conf | Katalog plików konfiguracyjnych |
| resty_log_dir | /var/log/openresty | Katalog plików dziennika |
| openresty_version | 1.11.2.5 | Wersja OpenResty |
| with_luajit | true | Kompilacja z obsługą luajit |
| with_dav | true | Kompilacja z obsługą dav |
| with_flv | true | Kompilacja z obsługą flv |
| with_geoip | true | Kompilacja z obsługą geoip |
| with_gzip_stati | true | Kompilacja z obsługą gzip_static |
| with_image_filter | true | Kompilacja z obsługą image_filter |
| with_realip | true | Kompilacja z obsługą realip |
| with_stub_status | true | Kompilacja z obsługą stub_status |
| with_ssl | true | Kompilacja z obsługą ssl |
| with_sub | true | Kompilacja z obsługą sub |
| with_xslt | true | Kompilacja z obsługą xslt |
| with_ipv6 | true | Kompilacja z obsługą IPv6 |
| with_sha1 | "/usr/include/openssl" | Kompilacja z obsługą sha1 [NIEZALECANE] |
| with_md5 | "/usr/include/openssl" | Kompilacja z obsługą md5 [NIEZALECANE] |
| with_mail | true | Kompilacja z obsługą mail |
| with_mail_ssl | true | Kompilacja z obsługą mail_ssl |
| with_secure_link | true | Kompilacja z obsługą secure_link |
| with_pcre_jit | true | Kompilacja z obsługą pcre jit |
| with_debug | true | Kompilacja z obsługą modułu debug |
| with_auth_request | true | Kompilacja z obsługą modułu auth_request |
| with_addition | true | Kompilacja z obsługą addition_module |
| with_gunzip | true | Kompilacja z obsługą gunzip |
| with_postgres | true | Kompilacja z obsługą PostgreSQL |
| with_http2 | true | Kompilacja z obsługą http2 |
| with_file_aio | true | Kompilacja z obsługą file AIO |
Zależności
Brak
Przykładowy playbook
Przykład użycia twojej roli:
- hosts: webservers
roles:
- ansible-role-openresty
Licencja
MIT
Informacje o autorze
- Forkowane z: ansible-role-openresty
Zainstaluj
ansible-galaxy install HauptJ.openrestyLicencja
mit
Pobrania
621
Właściciel
