From d927f91668d0a837f1793de51d64f0fb9c42143a Mon Sep 17 00:00:00 2001 From: Adrien Cunin Date: Wed, 19 Apr 2017 17:25:16 +0200 Subject: [PATCH] Added debug variable support Change-Id: I1376470ed942639b317547e06304b15a491024cd (cherry picked from commit 3469c8982a8f3aed2524522f723b79134a82beb9) --- defaults/main.yml | 3 +++ templates/magnum.conf.j2 | 1 + 2 files changed, 4 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index fce8a1e2..8fac8dc6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -13,6 +13,9 @@ # See the License for the specific language governing permissions and # limitations under the License. +## Verbosity Options +debug: False + # Set the package install state for distribution and pip packages # Options are 'present' and 'latest' magnum_package_state: "latest" diff --git a/templates/magnum.conf.j2 b/templates/magnum.conf.j2 index f5a262a0..7b4169aa 100644 --- a/templates/magnum.conf.j2 +++ b/templates/magnum.conf.j2 @@ -1,6 +1,7 @@ [DEFAULT] # Disable stderr logging use_stderr = False +debug = {{ debug }} host = {{ ansible_host }} rpc_backend = {{ magnum_rpc_backend }}