ggiinnoo.nginx
NGINX
この役割は、指定されたOS用のシンプルなnginxインストーラーです。 簡単に設定でき、変数の上書きで全体のnginx.confを変更することができます。
CIテスト
プレイブックの例
- hosts: webservers
vars_files:
- vars/main.yml
roles:
- role: ggiinnoo.nginx
tags: [nginx]
変数
# どのリリースを希望しますか。Stableまたはmainline | インストール中のみ使用されます
nginxRedHatRelease: stable
nginxServicePort: 80
nginxServiceSecurePort: 443
# サーバーシグネチャを無効にしますか?
nginxServiceSignatures: true
# server_names_hash_bucket_size
nginxServerNameHashBucketSize: 256
nginxErrorLog: "/var/log/nginx/error.log"
nginxAccessLog: "/var/log/nginx/access.log"
nginxConfLocationDest: "/etc/nginx/nginx.conf"
nginxConfLocationSrc: "{{ role_path }}/templates/nginxRedHat.conf.j2"
今後の機能
conf.d
フォルダーの管理