From 15f3313ccab4bc9c4788fff8b84911d9a186debb Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Mon, 29 Apr 2019 16:51:17 +0200 Subject: [PATCH] add install instructions to readme Signed-off-by: Sebastian Gumprich --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 480a937..8d291c3 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ It works with the following nginx-roles, including, but not limited to: * [franklinkim.nginx](https://galaxy.ansible.com/franklinkim/nginx/) **NOTE: This role does not work with nginx 1.0.15 or older! Please use the latest version from the official nginx repositories!** + ## Requirements * Ansible >= 2.5 @@ -41,6 +42,14 @@ It works with the following nginx-roles, including, but not limited to: | [nginx_ssl_prefer_server_ciphers][] | `on` | Specifies that server ciphers should be preferred over client ciphers when using the TLS protocols. Set to false to disable it. | | [nginx_dh_size][] | `2048` | Specifies the length of DH parameters for EDH ciphers. | +## Installation + +Install the role with ansible-galaxy: + +``` +ansible-galaxy install dev-sec.nginx-hardening +``` + ## Example Playbook - hosts: localhost