From e2abddc8e673ee697dae51eb3297c2b9cd6d6531 Mon Sep 17 00:00:00 2001 From: TinOo512 Date: Tue, 3 Nov 2015 12:48:30 +0100 Subject: [PATCH] make hostname update as optional --- defaults/main.yml | 3 +++ meta/main.yml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 27a0b80..3ac1b7e 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -165,3 +165,6 @@ nginx_ngx_pagespeed_version: 1.9.32.4 # OpenSSL configuration openssl_version: "1.0.2d" + +# Hostname update +hostname_update: false diff --git a/meta/main.yml b/meta/main.yml index 19a49b9..0b07020 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -14,7 +14,8 @@ galaxy_info: - system dependencies: - - ANXS.hostname + - role: ANXS.hostname + when: hostname_update is defined and hostname_update == true - ANXS.apt - role: ANXS.build-essential when: nginx_install_method is defined and nginx_install_method == "source"