From 26afcfdf7ac59c2193accb6b32d6065658fe06a5 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 4 Aug 2020 23:15:12 +0000 Subject: [PATCH] Fix bad variable use, start building playbook-frames.yml --- playbook-frames.yml | 5 +++++ roles/msmtp/tasks/main.yml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 playbook-frames.yml diff --git a/playbook-frames.yml b/playbook-frames.yml new file mode 100644 index 0000000..c3458d5 --- /dev/null +++ b/playbook-frames.yml @@ -0,0 +1,5 @@ +--- + - hosts: frames + become: yes + roles: + - msmtp diff --git a/roles/msmtp/tasks/main.yml b/roles/msmtp/tasks/main.yml index bfaa9d2..a26e6e2 100644 --- a/roles/msmtp/tasks/main.yml +++ b/roles/msmtp/tasks/main.yml @@ -3,8 +3,8 @@ setup: - name: Update APT package cache apt: - update_cache: "{{ wireguard_ubuntu_update_cache }}" - cache_valid_time: "{{ wireguard_ubuntu_cache_valid_time }}" + update_cache: "true" + cache_valid_time: "3600" tags: - msmtp-install - name: Install msmtp