From b2941fa58078d2ae18855a5555278e16524db751 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Fri, 12 Feb 2021 07:19:27 -0600 Subject: [PATCH] Ubuntu on desktop is madbro about failed not existing. Worked fine on USB earlier? --- tasks/general/acct_mgmt/mounts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/general/acct_mgmt/mounts.yml b/tasks/general/acct_mgmt/mounts.yml index c3f512e..8703073 100644 --- a/tasks/general/acct_mgmt/mounts.yml +++ b/tasks/general/acct_mgmt/mounts.yml @@ -68,13 +68,13 @@ marker: '# {mark} MANAGED BY ANSIBLE | 1337 Share' state: present backup: yes - when: ansible_system == "Linux" and not sshfs_test.failed + when: ansible_system == "Linux" and sshfs_test.failed is defined and not sshfs_test.failed - name: General | Account Management | Mounts | Mount All (Linux) shell: mount -a args: warn: false - when: ansible_system == "Linux" and not sshfs_test.failed + when: ansible_system == "Linux" and sshfs_test.failed is defined and not sshfs_test.failed # FreeBSD has to do this via root cron job, fstab is unhappy