From 72012c7236ded068959e8c6d98959272bf8d1116 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Fri, 11 Mar 2022 20:21:44 +1300 Subject: [PATCH] missing default for root_email --- defaults/main.yml | 3 ++- tasks/communication.yml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index d08d1ee..777772f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -36,4 +36,5 @@ win_packages: apply_win_updates: false common_show_ipv6: false|bool -common_root_pwd: l3tm31nN0w \ No newline at end of file +common_root_pwd: l3tm31nN0w +common_rool_email: admin@somplace.co.nz \ No newline at end of file diff --git a/tasks/communication.yml b/tasks/communication.yml index 1b58f7c..553f2ef 100644 --- a/tasks/communication.yml +++ b/tasks/communication.yml @@ -38,6 +38,6 @@ - name: Ensure root forwarding address is set lineinfile: dest: ~/.forward - regexp: "{{ root_email }}" - line: "{{ root_email }}" + regexp: "{{ common_root_email }}" + line: "{{ common_root_email }}" create: yes