From ecb7871c2bce8a227b7188d585579a109bfebd1a Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 13 Feb 2021 05:42:13 -0600 Subject: [PATCH] Fix loop item value. --- tasks/general/acct_mgmt/mounts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/general/acct_mgmt/mounts.yml b/tasks/general/acct_mgmt/mounts.yml index 1e79ea1..a6a52be 100644 --- a/tasks/general/acct_mgmt/mounts.yml +++ b/tasks/general/acct_mgmt/mounts.yml @@ -24,7 +24,7 @@ # Make super sure that the failed key exists. - name: General | Account Management | Mounts | Check/Set sshfs_test.failed Key set_fact: - sshfs_test: "{{ sshfs_test | combine ({item.name : item.phone}) }}" + sshfs_test: "{{ sshfs_test | combine({item.name : item.value}) }}" with_items: "{{ key: 'failed', value: false }}" when: sshfs_test.failed is not defined